Skip to content

v0.2.48..v0.2.49 changeset TagKeyCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/TagKeyCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/TagKeyCriterion.h
index d78ae6a..d9b4d35 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/TagKeyCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/TagKeyCriterion.h
@@ -62,6 +62,9 @@ public:
 
   virtual void setConfiguration(const Settings& conf);
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 protected:
 
   explicit TagKeyCriterion(QStringList keys);
Clone this wiki locally