-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset BuildingCriterion.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/BuildingCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/BuildingCriterion.h
index 906195f..700a367 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/BuildingCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/BuildingCriterion.h
@@ -44,8 +44,9 @@ public:
static std::string className() { return "hoot::BuildingCriterion"; }
- BuildingCriterion();
- BuildingCriterion(ConstOsmMapPtr map);
+ BuildingCriterion() = default;
+ BuildingCriterion(ConstOsmMapPtr map) : _map(map) { }
+ virtual ~BuildingCriterion() = default;
bool isParentABuilding(ElementId eid) const;