Skip to content

v0.2.48..v0.2.49 changeset PoiCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/PoiCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/PoiCriterion.h
index 8fee41a..c9505e8 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/PoiCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/PoiCriterion.h
@@ -45,12 +45,16 @@ public:
 
   virtual bool isSatisfied(const ConstElementPtr& e) const override;
 
-  virtual ConflatableGeometryType getGeometryType() const
-  { return ConflatableGeometryType::Point; }
+  virtual GeometryType getGeometryType() const
+  { return GeometryType::Point; }
 
   virtual ElementCriterionPtr clone() { return ElementCriterionPtr(new PoiCriterion()); }
 
   virtual QString getDescription() const { return "Identifies POIs"; }
+
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 };
 
 }
Clone this wiki locally