diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-05-16 17:33:08 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-05-17 13:20:25 -0700 |
commit | 3173b464180fa0c6d10ffb1daeec727099d8044f (patch) | |
tree | f5e9d3f1a6a837f3ed5f7fbf7fdaaa5bb61bf6dc /src | |
parent | 3c49fdc99d9177a2751361f3151cc562aa1f77a3 (diff) | |
download | qtlocation-mapboxgl-3173b464180fa0c6d10ffb1daeec727099d8044f.tar.gz |
[core] Less auto
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/source/source.cpp | 6 |
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; |