Skip to content

v0.2.48..v0.2.49 changeset InBoundsCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/InBoundsCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/InBoundsCriterion.h
index ae51d9e..618a95c 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/InBoundsCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/InBoundsCriterion.h
@@ -84,6 +84,10 @@ public:
   void setMustCompletelyContain(bool mustCompletelyContain)
   { _mustCompletelyContain = mustCompletelyContain; }
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
+
 private:
 
   std::shared_ptr<const geos::geom::Geometry> _boundsGeom;
Clone this wiki locally