]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2105] Add explicit default constructor for the DeleterType class
authorMukund Sivaraman <muks@isc.org>
Tue, 31 Jul 2012 17:54:51 +0000 (23:24 +0530)
committerMukund Sivaraman <muks@isc.org>
Tue, 31 Jul 2012 17:54:55 +0000 (23:24 +0530)
Some compilers seem to expect it to be present.

src/lib/datasrc/memory/tests/domaintree_unittest.cc

index 8ff943729c08b592f7e373037d85a84a354ffaba..fa4aa7238d2d0ea73707df20b37e924b32a5bcef 100644 (file)
@@ -61,6 +61,8 @@ namespace {
 
 class DeleterType {
 public:
+    DeleterType() {}
+
     void operator()(int* i) const {
         delete i;
     }