From 3173b464180fa0c6d10ffb1daeec727099d8044f Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 16 May 2016 17:33:08 -0700 Subject: [core] Less auto --- src/mbgl/source/source.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mbgl/source/source.cpp b/src/mbgl/source/source.cpp index 51596b8c01..1ef818a0aa 100644 --- a/src/mbgl/source/source.cpp +++ b/src/mbgl/source/source.cpp @@ -350,10 +350,10 @@ std::unordered_map> Source::queryRenderedFeatu std::unordered_map> result; for (const auto& tilePtr : tiles) { - const auto& tile = tilePtr.second; + const Tile& tile = tilePtr.second; - auto tileSpaceBoundsMin = coordinateToTilePoint(tile.id, box.min); - auto tileSpaceBoundsMax = coordinateToTilePoint(tile.id, box.max); + Point tileSpaceBoundsMin = coordinateToTilePoint(tile.id, box.min); + Point tileSpaceBoundsMax = coordinateToTilePoint(tile.id, box.max); if (tileSpaceBoundsMin.x >= util::EXTENT || tileSpaceBoundsMin.y >= util::EXTENT || tileSpaceBoundsMax.x < 0 || tileSpaceBoundsMax.y < 0) continue; -- cgit v1.2.1