Skip to content

v0.2.48..v0.2.49 changeset AreaCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
index 0e73df3..a16ce0d 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
@@ -48,12 +48,15 @@ public:
 
   bool isSatisfied(const Tags& tags, const ElementType& elementType) const;
 
-  virtual ConflatableGeometryType getGeometryType() const
-  { return ConflatableGeometryType::Polygon; }
+  virtual GeometryType getGeometryType() const
+  { return GeometryType::Polygon; }
 
   virtual ElementCriterionPtr clone() { return ElementCriterionPtr(new AreaCriterion()); }
 
   virtual QString getDescription() const { return "Identifies areas"; }
+
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
 };
 
 }
Clone this wiki locally