Skip to content

v0.2.55..v0.2.56 changeset AreaCriterion.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
index fd3f16f..128003a 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
@@ -44,8 +44,9 @@ public:
 
   static std::string className() { return "hoot::AreaCriterion"; }
 
-  AreaCriterion();
-  AreaCriterion(ConstOsmMapPtr map);
+  AreaCriterion() = default;
+  AreaCriterion(ConstOsmMapPtr map) : _map(map) { }
+  virtual ~AreaCriterion() = default;
 
   virtual bool isSatisfied(const ConstElementPtr& e) const override;
 
Clone this wiki locally