diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/NotCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/NotCriterion.h
index 5cc6ee2..7c4ef34 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/NotCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/NotCriterion.h
@@ -42,9 +42,10 @@ public:
static std::string className() { return "hoot::NotCriterion"; }
- NotCriterion();
- NotCriterion(ElementCriterion* c);
- NotCriterion(ElementCriterionPtr c);
+ NotCriterion() = default;
+ NotCriterion(ElementCriterion* c) : _child(c) { }
+ NotCriterion(ElementCriterionPtr c) : _child(c) { }
+ virtual ~NotCriterion() = default;
virtual void addCriterion(const ElementCriterionPtr& e);