diff options
Diffstat (limited to 'Source/Graphics/font_renderer.cpp')
-rw-r--r-- | Source/Graphics/font_renderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Graphics/font_renderer.cpp b/Source/Graphics/font_renderer.cpp index f6e39015..3067607b 100644 --- a/Source/Graphics/font_renderer.cpp +++ b/Source/Graphics/font_renderer.cpp @@ -104,8 +104,8 @@ struct FontRendererImpl { FontRendererImpl::~FontRendererImpl() { - for (FontMap::iterator it = faces_.begin(); it != faces_.end(); ++it) { - FontFace &face = it->second; + for (auto & it : faces_) { + FontFace &face = it.second; FT_Done_Face(face.face); face.face = NULL; } |