Skip to content

v0.2.48..v0.2.49 changeset SuperfluousNodeRemover.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/SuperfluousNodeRemover.h b/hoot-core/src/main/cpp/hoot/core/ops/SuperfluousNodeRemover.h
index 3dce075..bbbdc03 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/SuperfluousNodeRemover.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/SuperfluousNodeRemover.h
@@ -74,8 +74,9 @@ public:
    * @param map map from which to remove the nodes
    * @param ignoreInformationTags if true, will remove nodes even if they have an info tag
    * @param e bounds within which to remove nodes
+   * @return the number of nodes removed
    */
-  static void removeNodes(std::shared_ptr<OsmMap>& map, const bool ignoreInformationTags = false,
+  static long removeNodes(std::shared_ptr<OsmMap>& map, const bool ignoreInformationTags = false,
                           const geos::geom::Envelope& e = geos::geom::Envelope());
 
   virtual void setBounds(const geos::geom::Envelope &bounds);
Clone this wiki locally