v0.2.55..v0.2.56 changeset MaximalSublineStringMatcher.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/subline-matching/MaximalSublineStringMatcher.h b/hoot-core/src/main/cpp/hoot/core/algorithms/subline-matching/MaximalSublineStringMatcher.h
index a5657aa..e387efc 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/subline-matching/MaximalSublineStringMatcher.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/subline-matching/MaximalSublineStringMatcher.h
@@ -47,9 +47,8 @@ public:
static std::string className() { return "hoot::MaximalSublineStringMatcher"; }
- static int logWarnCount;
-
MaximalSublineStringMatcher();
+ virtual ~MaximalSublineStringMatcher() = default;
/**
* @throws NeedsReviewException If the multilinestring situation is too complex to handle with
@@ -73,6 +72,8 @@ public:
private:
+ static int logWarnCount;
+
// for white box testing.
friend class MaximalSublineStringMatcherTest;