Skip to content

v0.2.55..v0.2.56 changeset AddMeasurementTagsVisitor.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/AddMeasurementTagsVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/AddMeasurementTagsVisitor.h
index b7913e2..4f6d25c 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/AddMeasurementTagsVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/AddMeasurementTagsVisitor.h
@@ -55,9 +55,10 @@ class AddMeasurementTagsVisitor : public ElementOsmMapVisitor
 {
 public:
 
-  AddMeasurementTagsVisitor() {}
+  AddMeasurementTagsVisitor() = default;
   AddMeasurementTagsVisitor(bool area, bool length, bool width) :
-    _addArea(area), _addLength(length), _addWidth(width) {}
+    _addArea(area), _addLength(length), _addWidth(width) { }
+  virtual ~AddMeasurementTagsVisitor() = default;
 
   // ElementVisitor
   static std::string className() { return "hoot::AddMeasurementTagsVisitor"; }
Clone this wiki locally