v0.2.48..v0.2.49 changeset ArbitraryCriterion.h
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/ArbitraryCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/ArbitraryCriterion.h
index 23bf45f..94d48be 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/ArbitraryCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/ArbitraryCriterion.h
@@ -68,6 +68,9 @@ public:
virtual QString getDescription() const { return ""; }
+ virtual QString toString() const override
+ { return QString::fromStdString(className()).remove("hoot::"); }
+
private:
std::function<bool (const std::shared_ptr<const Element> &e)> _f;