Skip to content

v0.2.55..v0.2.56 changeset NotCriterion.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
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);
 
Clone this wiki locally