Skip to content

v0.2.55..v0.2.56 changeset ElementCriterion.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/ElementCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/ElementCriterion.h
index 15f8346..688cd89 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/ElementCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/ElementCriterion.h
@@ -58,7 +58,8 @@ public:
 
   static std::string className() { return "hoot::ElementCriterion"; }
 
-  virtual ~ElementCriterion() {}
+  ElementCriterion() = default;
+  virtual ~ElementCriterion() = default;
 
   /**
    * Returns true if the element satisfies the criterion.
Clone this wiki locally