Fixed unnecessary instantiation

Co-authored-by: kimci86 <kimci86@hotmail.fr>
This commit is contained in:
CosminPerRam 2022-05-04 02:23:34 +03:00 committed by Lukas Dürrenberger
parent 27a82e733b
commit 6b4c287c20

View File

@ -534,7 +534,7 @@ void Font::cleanup()
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
Font::Page& Font::loadPage(unsigned int characterSize) const 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;
} }