v0.2.49..v0.2.50 changeset MatchScoringMapPreparer.cpp
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/scoring/MatchScoringMapPreparer.cpp b/hoot-core/src/main/cpp/hoot/core/scoring/MatchScoringMapPreparer.cpp
index 3fbcadf..5afe111 100644
--- a/hoot-core/src/main/cpp/hoot/core/scoring/MatchScoringMapPreparer.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/scoring/MatchScoringMapPreparer.cpp
@@ -83,7 +83,7 @@ void MatchScoringMapPreparer::prepMap(OsmMapPtr map, const bool removeNodes)
map->visitRw(remover);
// add a uuid to all elements with a REF tag.
- TagKeyCriterion criterion(MetadataTags::Ref1(), MetadataTags::Ref2(), "REVIEW");
+ TagKeyCriterion criterion(MetadataTags::Ref1(), MetadataTags::Ref2(), MetadataTags::Review());
AddUuidVisitor uuid("uuid");
FilteredVisitor v(criterion, uuid);
map->visitRw(v);