Skip to content

v0.2.48..v0.2.49 changeset ElementIdCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/ElementIdCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/ElementIdCriterion.h
index e8de606..c0aab69 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/ElementIdCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/ElementIdCriterion.h
@@ -52,6 +52,9 @@ public:
 
   virtual QString getDescription() const { return "Identifies elements by type and ID"; }
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 private:
 
   ElementId _id;
Clone this wiki locally