diff --git a/src/SFML/Graphics/Font.cpp b/src/SFML/Graphics/Font.cpp index 7b9527593..568578516 100644 --- a/src/SFML/Graphics/Font.cpp +++ b/src/SFML/Graphics/Font.cpp @@ -534,7 +534,7 @@ void Font::cleanup() //////////////////////////////////////////////////////////// Font::Page& Font::loadPage(unsigned int characterSize) const { - return m_pages.try_emplace(characterSize, Page(m_isSmooth)).first->second; + return m_pages.try_emplace(characterSize, m_isSmooth).first->second; }