Skip to content

v0.2.48..v0.2.49 changeset LinearWaterwayCriterion.h

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