Skip to content

v0.2.48..v0.2.49 changeset BridgeCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/BridgeCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/BridgeCriterion.h
index 99b9214..94a9d98 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/BridgeCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/BridgeCriterion.h
@@ -50,6 +50,9 @@ public:
   virtual ElementCriterionPtr clone() { return ElementCriterionPtr(new BridgeCriterion()); }
 
   virtual QString getDescription() const { return "Identifies bridges"; }
+
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
 };
 
 }
Clone this wiki locally