Skip to content

v0.2.55..v0.2.56 changeset FindNodesInWayFactory.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/FindNodesInWayFactory.h b/hoot-core/src/main/cpp/hoot/core/algorithms/FindNodesInWayFactory.h
index 912516e..d913c4b 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/FindNodesInWayFactory.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/FindNodesInWayFactory.h
@@ -43,11 +43,9 @@ public:
 
   static std::string className() { return "hoot::FindNodesInWayFactory"; }
 
-  static int logWarnCount;
-
-  FindNodesInWayFactory() {}
-
+  FindNodesInWayFactory() = default;
   FindNodesInWayFactory(const ConstWayPtr& w);
+  virtual ~FindNodesInWayFactory() = default;
 
   void addWay(const ConstWayPtr& w);
 
@@ -56,6 +54,8 @@ public:
 
 private:
 
+  static int logWarnCount;
+
   const ConstWayPtr _way;
   std::set<long> _nodesToSearch;
 };
Clone this wiki locally