Skip to content

v0.2.48..v0.2.49 changeset StatusCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/StatusCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/StatusCriterion.h
index 7ad736e..ae46c5f 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/StatusCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/StatusCriterion.h
@@ -55,6 +55,10 @@ public:
 
   virtual QString getDescription() const { return "Identifies elements with a particular status"; }
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
+
 private:
 
   Status _status;
Clone this wiki locally