Skip to content

v0.2.55..v0.2.56 changeset HighwayCriterion.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/HighwayCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/HighwayCriterion.h
index 0c075cd..47c2f12 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/HighwayCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/HighwayCriterion.h
@@ -27,6 +27,7 @@
 #ifndef HIGHWAYCRITERION_H
 #define HIGHWAYCRITERION_H
 
+// Hoot
 #include <hoot/core/elements/OsmMap.h>
 #include <hoot/core/elements/ConstOsmMapConsumer.h>
 #include <hoot/core/criterion/ConflatableElementCriterion.h>
@@ -43,8 +44,9 @@ public:
 
   static std::string className() { return "hoot::HighwayCriterion"; }
 
-  HighwayCriterion() {}
-  HighwayCriterion(ConstOsmMapPtr map) : _map(map) {}
+  HighwayCriterion() = default;
+  HighwayCriterion(ConstOsmMapPtr map) : _map(map) { }
+  virtual ~HighwayCriterion() = default;
 
   virtual bool isSatisfied(const ConstElementPtr& e) const override;
 
Clone this wiki locally