-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset DualHighwaySplitter.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/DualHighwaySplitter.h b/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/DualHighwaySplitter.h
index b1cf2b5..fc30d2b 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/DualHighwaySplitter.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/DualHighwaySplitter.h
@@ -56,8 +56,6 @@ public:
static std::string className() { return "hoot::DualHighwaySplitter"; }
- static int logWarnCount;
-
typedef enum DrivingSide
{
Left,
@@ -67,6 +65,7 @@ public:
DualHighwaySplitter();
DualHighwaySplitter(const std::shared_ptr<const OsmMap>& map, DrivingSide drivingSide,
Meters splitSize);
+ virtual ~DualHighwaySplitter() = default;
std::shared_ptr<OsmMap> splitAll();
@@ -97,6 +96,8 @@ public:
private:
+ static int logWarnCount;
+
Meters _defaultSplitSize;
DrivingSide _drivingSide;
std::shared_ptr<const OsmMap> _map;