-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.48..v0.2.49 changeset RailwayCriterion.h
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/RailwayCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/RailwayCriterion.h
index 748fe2b..1a6d726 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/RailwayCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/RailwayCriterion.h
@@ -47,14 +47,16 @@ 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 RailwayCriterion()); }
virtual QString getDescription() const { return "Identifies railways"; }
+ virtual QString toString() const override
+ { return QString::fromStdString(className()).remove("hoot::"); }
};
}