-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset IntersectionSplitter.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/IntersectionSplitter.h b/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/IntersectionSplitter.h
index 1be20b8..96f8e9b 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/IntersectionSplitter.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/IntersectionSplitter.h
@@ -55,9 +55,9 @@ public:
static std::string className() { return "hoot::IntersectionSplitter"; }
- IntersectionSplitter();
-
- IntersectionSplitter(const std::shared_ptr<OsmMap>& map);
+ IntersectionSplitter() = default;
+ IntersectionSplitter(const std::shared_ptr<OsmMap>& map) : _map(map) { }
+ virtual ~IntersectionSplitter() = default;
void apply(std::shared_ptr<OsmMap>& map) override;