Skip to content

v0.2.55..v0.2.56 changeset KnnWayIterator.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/index/KnnWayIterator.h b/hoot-core/src/main/cpp/hoot/core/index/KnnWayIterator.h
index 41662c1..ad099cf 100644
--- a/hoot-core/src/main/cpp/hoot/core/index/KnnWayIterator.h
+++ b/hoot-core/src/main/cpp/hoot/core/index/KnnWayIterator.h
@@ -50,6 +50,7 @@ public:
 
   KnnWayIterator(const OsmMap& map, ConstWayPtr way, const Tgs::RStarTree* tree,
                  const std::vector<long>& treeIdToWid, bool addError = false);
+  virtual ~KnnWayIterator() = default;
 
   long getWayId() const { return _treeIdToWid[getId()]; }
 
Clone this wiki locally