From 5403d13f6ab43639c897fd775fb94fa774859d66 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 23 Jun 2014 16:23:40 -0400 Subject: [PATCH] rename Font::operator[]() to Font::get_glyph() --- src/gui/Font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Font.h b/src/gui/Font.h index bf37608..173a236 100644 --- a/src/gui/Font.h +++ b/src/gui/Font.h @@ -45,7 +45,7 @@ namespace jes int get_line_height() { return m_line_height; } int get_advance() { return m_advance; } int get_baseline_offset() { return m_baseline_offset; } - GlyphRef operator[](FT_ULong char_code) + GlyphRef get_glyph(FT_ULong char_code) { auto it = m_glyphs.find(char_code); if (it != m_glyphs.end())