Skip to content

v0.2.48..v0.2.49 changeset DistanceNodeCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/DistanceNodeCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/DistanceNodeCriterion.h
index bae3e84..c52656c 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/DistanceNodeCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/DistanceNodeCriterion.h
@@ -63,6 +63,9 @@ public:
 
   virtual void setConfiguration(const Settings& s);
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 private:
 
   geos::geom::Coordinate _center;
Clone this wiki locally