From b2f003bdd66e40ba0e94bde3e49a8babca1b9f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 24 May 2020 15:31:44 +0200 Subject: [PATCH] MagnumFontConverter: fix warnings on Clang 10. --- src/MagnumPlugins/MagnumFontConverter/MagnumFontConverter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MagnumPlugins/MagnumFontConverter/MagnumFontConverter.cpp b/src/MagnumPlugins/MagnumFontConverter/MagnumFontConverter.cpp index 53061adec..d536b37a9 100644 --- a/src/MagnumPlugins/MagnumFontConverter/MagnumFontConverter.cpp +++ b/src/MagnumPlugins/MagnumFontConverter/MagnumFontConverter.cpp @@ -68,7 +68,7 @@ std::vector>> MagnumFontConverter /* Get the glyphs and sort them for predictable output */ std::vector>> sortedGlyphs; - for(const std::pair>& glyph: cache) + for(const std::pair>& glyph: cache) sortedGlyphs.emplace_back(glyph); std::sort(sortedGlyphs.begin(), sortedGlyphs.end(), [](const std::pair>& a, @@ -88,7 +88,7 @@ std::vector>> MagnumFontConverter /* Inverse map from new glyph IDs to old ones */ std::vector inverseGlyphIdMap(glyphIdMap.size()); - for(const std::pair& map: glyphIdMap) + for(const std::pair& map: glyphIdMap) inverseGlyphIdMap[map.second] = map.first; /* Character->glyph map, map glyph IDs to new ones */