Skip to content

v0.2.48..v0.2.49 changeset AttributeValueCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/AttributeValueCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/AttributeValueCriterion.h
index 74e4b1c..40aa9c3 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/AttributeValueCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/AttributeValueCriterion.h
@@ -70,6 +70,9 @@ public:
    */
   virtual QString getDescription() const { return "Identifies element attributes by value"; }
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 private:
 
   // attribute to examine
Clone this wiki locally