summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShapeSource.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLShapeSource.mm')
-rw-r--r--platform/darwin/src/MGLShapeSource.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLShapeSource.mm b/platform/darwin/src/MGLShapeSource.mm
index 523d0bc3b0..bfd5eefb38 100644
--- a/platform/darwin/src/MGLShapeSource.mm
+++ b/platform/darwin/src/MGLShapeSource.mm
@@ -113,10 +113,10 @@ mbgl::style::GeoJSONOptions MGLGeoJSONOptionsFromDictionary(NSDictionary<MGLShap
std::string keyString = std::string([key UTF8String]);
- // No viable overloaded operator[] for type ...
- // clusterMap[keyString] = mbglPair;
+ clusterMap->emplace(keyString, mbglPair);
}
+ // No viable overloaded '='
// geoJSONOptions.clusterProperties = clusterMap;
}