diff --git a/src/Text/Font.h b/src/Text/Font.h index 30e697163..06866d1a9 100644 --- a/src/Text/Font.h +++ b/src/Text/Font.h @@ -54,7 +54,7 @@ class MAGNUM_TEXT_EXPORT Font { * Creates font with no prerendered characters. See prerender() for * more information. */ - Font(FontRenderer& renderer, const std::string& fontFile, GLfloat size); + explicit Font(FontRenderer& renderer, const std::string& fontFile, GLfloat size); /** * @brief Prerender given character set