diff options
Diffstat (limited to 'src/mbgl/style/expression/within.cpp')
-rw-r--r-- | src/mbgl/style/expression/within.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/expression/within.cpp b/src/mbgl/style/expression/within.cpp index 2b8a6a65bf..b66015465f 100644 --- a/src/mbgl/style/expression/within.cpp +++ b/src/mbgl/style/expression/within.cpp @@ -39,7 +39,7 @@ Polygon<int64_t> getTilePolygon(const Polygon<double>& polygon, for (const auto& ring : polygon) { LinearRing<int64_t> temp; temp.reserve(ring.size()); - for (const auto p : ring) { + for (const auto& p : ring) { const auto coord = latLonToTileCoodinates(p, canonical); temp.push_back(coord); updateBBox(bbox, coord); |