aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 21:26:31 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 21:26:31 +0100
commitcb8af2747fa6999d1a4b97c4785a9cfb37b535c4 (patch)
treea55f166bf4e469abcda6d142a18ff7f102f3a456 /src
parent5ef7c56e44a864e580810952450c43c0f9a7b6e0 (diff)
removed reference
Diffstat (limited to 'src')
-rw-r--r--src/crepe/facade/SDLFontContext.cpp2
-rw-r--r--src/crepe/facade/SDLFontContext.h2
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:
};