summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-05-16 17:33:08 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-05-17 13:20:25 -0700
commit3173b464180fa0c6d10ffb1daeec727099d8044f (patch)
treef5e9d3f1a6a837f3ed5f7fbf7fdaaa5bb61bf6dc /src
parent3c49fdc99d9177a2751361f3151cc562aa1f77a3 (diff)
downloadqtlocation-mapboxgl-3173b464180fa0c6d10ffb1daeec727099d8044f.tar.gz
[core] Less auto
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/source/source.cpp6
1 files 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<std::string, std::vector<Feature>> Source::queryRenderedFeatu
std::unordered_map<std::string, std::vector<Feature>> 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<int16_t> tileSpaceBoundsMin = coordinateToTilePoint(tile.id, box.min);
+ Point<int16_t> tileSpaceBoundsMax = coordinateToTilePoint(tile.id, box.max);
if (tileSpaceBoundsMin.x >= util::EXTENT || tileSpaceBoundsMin.y >= util::EXTENT ||
tileSpaceBoundsMax.x < 0 || tileSpaceBoundsMax.y < 0) continue;