Skip to content

v0.2.53..v0.2.54 changeset NetworkMatchCreator.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/network/NetworkMatchCreator.h b/hoot-core/src/main/cpp/hoot/core/conflate/network/NetworkMatchCreator.h
index c58ce04..1dd40c1 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/network/NetworkMatchCreator.h
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/network/NetworkMatchCreator.h
@@ -31,7 +31,7 @@
 #include <hoot/core/conflate/matching/MatchCreator.h>
 #include <hoot/core/conflate/network/NetworkDetails.h>
 #include <hoot/core/conflate/network/NetworkEdgeScore.h>
-#include <hoot/core/criterion/ElementCriterion.h>
+#include <hoot/core/criterion/HighwayCriterion.h>
 
 namespace hoot
 {
@@ -61,6 +61,12 @@ public:
 
   virtual QString getName() const { return QString::fromStdString(className()); }
 
+  /**
+   * @see FilteredByCriteria
+   */
+  virtual QStringList getCriteria() const
+  { return QStringList(QString::fromStdString(HighwayCriterion::className())); }
+
 private:
 
   std::shared_ptr<MatchThreshold> _matchThreshold;
Clone this wiki locally