Skip to content

v0.2.55..v0.2.56 changeset NonBuildingAreaCriterion.h

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