Skip to content

v0.2.48..v0.2.49 changeset WayDirectionCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/WayDirectionCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/WayDirectionCriterion.h
index 22b4f43..0b51fec 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/WayDirectionCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/WayDirectionCriterion.h
@@ -54,6 +54,9 @@ public:
 
   virtual QString getDescription() const { return "Identifies which direction a way is pointing"; }
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
 private:
 
   ConstOsmMapPtr _map;
Clone this wiki locally