diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2020-11-20 10:22:54 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2020-11-20 10:22:54 +0100 |
commit | 993ae88abe4caf2c867a53457e0e8b845b9e30f5 (patch) | |
tree | 7ad2de75a5fd971df8c68d281509a54aa40a59c0 /src/mbgl/style/expression/within.cpp | |
parent | b8edc2399b9640498ccbbbb5b8f058c63d070933 (diff) | |
download | qtlocation-mapboxgl-upstream/fix-clang-compile-errors.tar.gz |
[build] fix compilation errors with new Clang/Xcodeupstream/fix-clang-compile-errors
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); |