summaryrefslogtreecommitdiff
path: root/src/mbgl
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-06-12 14:49:34 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-06-13 23:32:06 +0300
commit6e22de8cced45f13bb04e4f35b9ed46f38d2365d (patch)
tree19bdbaf25c1742dd9e05a2c820f8dfd5cd655fb0 /src/mbgl
parent7ac7ac13f5feb3e67546454158e1095e5efaab44 (diff)
downloadqtlocation-mapboxgl-6e22de8cced45f13bb04e4f35b9ed46f38d2365d.tar.gz
[tidy] Check modernize-use-auto
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
Diffstat (limited to 'src/mbgl')
-rw-r--r--src/mbgl/geometry/glyph_atlas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/geometry/glyph_atlas.cpp b/src/mbgl/geometry/glyph_atlas.cpp
index f5b4d22cee..37e55c9952 100644
--- a/src/mbgl/geometry/glyph_atlas.cpp
+++ b/src/mbgl/geometry/glyph_atlas.cpp
@@ -52,7 +52,7 @@ Rect<uint16_t> GlyphAtlas::addGlyph(uintptr_t tileUID,
const uint8_t buffer = 3;
std::map<uint32_t, GlyphValue>& face = index[fontStack];
- std::map<uint32_t, GlyphValue>::iterator it = face.find(glyph.id);
+ auto it = face.find(glyph.id);
// The glyph is already in this texture.
if (it != face.end()) {