From 6e22de8cced45f13bb04e4f35b9ed46f38d2365d Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Sun, 12 Jun 2016 14:49:34 +0300 Subject: [tidy] Check modernize-use-auto Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html --- src/mbgl/geometry/glyph_atlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mbgl') 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 GlyphAtlas::addGlyph(uintptr_t tileUID, const uint8_t buffer = 3; std::map& face = index[fontStack]; - std::map::iterator it = face.find(glyph.id); + auto it = face.find(glyph.id); // The glyph is already in this texture. if (it != face.end()) { -- cgit v1.2.1