Skip to content

v0.2.48..v0.2.49 changeset ElementInIdListCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/ElementInIdListCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/ElementInIdListCriterion.h
index 6bd7c93..a30c84a 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/ElementInIdListCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/ElementInIdListCriterion.h
@@ -57,6 +57,9 @@ public:
 
   virtual QString getDescription() const { return "Filters elements with a list of IDs"; }
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 private:
 
   std::set<long> _ids;
Clone this wiki locally