summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-11-07 10:59:59 -0800
committerChris Loer <chris.loer@mapbox.com>2017-11-07 11:01:16 -0800
commitb309465876be44a96b318e223451e384486b62d1 (patch)
tree4f5494c6c63bf751877ecea3d1f65f338f0d48ba
parentec54aa1e97c36d7b520de42db633633056d20bb5 (diff)
downloadqtlocation-mapboxgl-b309465876be44a96b318e223451e384486b62d1.tar.gz
Appease clang-tidy.
-rw-r--r--src/mbgl/tile/geometry_tile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/tile/geometry_tile.cpp b/src/mbgl/tile/geometry_tile.cpp
index 02f1e53093..9c83864a87 100644
--- a/src/mbgl/tile/geometry_tile.cpp
+++ b/src/mbgl/tile/geometry_tile.cpp
@@ -284,7 +284,7 @@ void GeometryTile::querySourceFeatures(
void GeometryTile::resetCrossTileIDs() {
for (auto& bucket : symbolBuckets) {
- SymbolBucket* symbolBucket = dynamic_cast<SymbolBucket*>(bucket.second.get());
+ auto symbolBucket = dynamic_cast<SymbolBucket*>(bucket.second.get());
if (symbolBucket && symbolBucket->bucketInstanceId) {
symbolBucket->bucketInstanceId = 0;
for (auto& symbolInstance : symbolBucket->symbolInstances) {