diff --git a/hoot-core/src/main/cpp/hoot/core/elements/ElementGeometryUtils.cpp b/hoot-core/src/main/cpp/hoot/core/elements/ElementGeometryUtils.cpp
index 6a57fce..b428a3c 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/ElementGeometryUtils.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/elements/ElementGeometryUtils.cpp
@@ -205,7 +205,7 @@ GeometryTypeCriterion::GeometryType geometryTypeForElement(
}
else if (type == ElementType::Way)
{
- if (PolygonCriterion().isSatisfied(element))
+ if (PolygonCriterion(map).isSatisfied(element))
{
return GeometryTypeCriterion::GeometryType::Polygon;
}