mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Fixed unnecessary instantiation
Co-authored-by: kimci86 <kimci86@hotmail.fr>
This commit is contained in:
parent
27a82e733b
commit
6b4c287c20
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user