Skip to content

v0.2.48..v0.2.49 changeset HasAddressCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/HasAddressCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/HasAddressCriterion.h
index b8c5447..bf068c8 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/HasAddressCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/HasAddressCriterion.h
@@ -54,6 +54,9 @@ public:
 
   virtual QString getDescription() const { return "Identifies features with addresses"; }
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 private:
 
   AddressParser _addressParser;
Clone this wiki locally