diff --git a/hoot-core/src/main/cpp/hoot/core/elements/NodeToWayMap.h b/hoot-core/src/main/cpp/hoot/core/elements/NodeToWayMap.h
index fb7dbf2..a78ba93 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/NodeToWayMap.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/NodeToWayMap.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2017, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef NODETOWAYMAP_H
@@ -50,9 +50,8 @@ public:
static std::string className() { return "hoot::NodeToWayMap"; }
- static int logWarnCount;
-
NodeToWayMap(const OsmMap& map);
+ virtual ~NodeToWayMap() = default;
void addWay(const std::shared_ptr<const Way>& w);
@@ -71,6 +70,8 @@ public:
private:
+ static int logWarnCount;
+
std::set<long> _emptySet;
};