diff options
Diffstat (limited to 'src/crepe')
-rw-r--r-- | src/crepe/facade/SDLFontContext.cpp | 2 | ||||
-rw-r--r-- | src/crepe/facade/SDLFontContext.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/facade/SDLFontContext.cpp b/src/crepe/facade/SDLFontContext.cpp index 2bccac4..1037ac4 100644 --- a/src/crepe/facade/SDLFontContext.cpp +++ b/src/crepe/facade/SDLFontContext.cpp @@ -13,7 +13,7 @@ SDLFontContext::SDLFontContext() { SDLFontContext::~SDLFontContext() { FcFini(); } -unique_ptr<Asset> SDLFontContext::get_font_asset(const string & font_family) { +unique_ptr<Asset> SDLFontContext::get_font_asset(const string font_family) { // Create a pattern to search for the font family FcPattern * pattern = FcNameParse(reinterpret_cast<const FcChar8 *>(font_family.c_str())); diff --git a/src/crepe/facade/SDLFontContext.h b/src/crepe/facade/SDLFontContext.h index b9e1f23..efeaa33 100644 --- a/src/crepe/facade/SDLFontContext.h +++ b/src/crepe/facade/SDLFontContext.h @@ -19,7 +19,7 @@ public: * * \param font_family Name of the font family name. */ - std::unique_ptr<Asset> get_font_asset(const std::string & font_family); + std::unique_ptr<Asset> get_font_asset(const std::string font_family); private: }; |