-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.48..v0.2.49 changeset HighwayCriterion.h
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/HighwayCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/HighwayCriterion.h
index 63bd7c7..ae3e834 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/HighwayCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/HighwayCriterion.h
@@ -48,8 +48,8 @@ public:
virtual bool isSatisfied(const ConstElementPtr& e) const override;
- virtual ConflatableGeometryType getGeometryType() const
- { return ConflatableGeometryType::Line; }
+ virtual GeometryType getGeometryType() const
+ { return GeometryType::Line; }
virtual ElementCriterionPtr clone() { return ElementCriterionPtr(new HighwayCriterion()); }
@@ -57,6 +57,9 @@ public:
virtual void setOsmMap(const OsmMap* map) { _map = map->shared_from_this(); }
+ virtual QString toString() const override
+ { return QString::fromStdString(className()).remove("hoot::"); }
+
private:
ConstOsmMapPtr _map;