Browse Source

[2105] Add explicit default constructor for the DeleterType class

Some compilers seem to expect it to be present.
Mukund Sivaraman 13 years ago
parent
commit
1fdb15bd59
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/datasrc/memory/tests/domaintree_unittest.cc

+ 2 - 0
src/lib/datasrc/memory/tests/domaintree_unittest.cc

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