Skip to content

v0.2.48..v0.2.49 changeset ContainsNodeCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/ContainsNodeCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/ContainsNodeCriterion.h
index 263351d..8ad2a6f 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/ContainsNodeCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/ContainsNodeCriterion.h
@@ -56,6 +56,9 @@ public:
 
   virtual void setConfiguration(const Settings& s);
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 private:
 
   long _nodeId;
Clone this wiki locally