diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-14 14:37:55 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-14 14:37:55 +0100 |
commit | aa1f1f9460fa713e00fd1830b08be743395110ce (patch) | |
tree | bdb8178c283c27cd9b261675822aa6d784dfe23f /src/crepe/facade/SDLFontContext.h | |
parent | 86e3dcbc1e5b2fe07d89d6cde21f4b9e687962fa (diff) |
sdl_ttf to submodules + feedback changes
Diffstat (limited to 'src/crepe/facade/SDLFontContext.h')
-rw-r--r-- | src/crepe/facade/SDLFontContext.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crepe/facade/SDLFontContext.h b/src/crepe/facade/SDLFontContext.h index efeaa33..cb3ca9d 100644 --- a/src/crepe/facade/SDLFontContext.h +++ b/src/crepe/facade/SDLFontContext.h @@ -11,6 +11,10 @@ class SDLFontContext { public: SDLFontContext(); ~SDLFontContext(); + SDLFontContext(const SDLFontContext &) = delete; + SDLFontContext(SDLFontContext &&) = delete; + SDLFontContext & operator=(const SDLFontContext &) = delete; + SDLFontContext & operator=(SDLFontContext &&) = delete; /** * * \brief Facade function to convert a font_family into an asset. @@ -19,7 +23,7 @@ public: * * \param font_family Name of the font family name. */ - std::unique_ptr<Asset> get_font_asset(const std::string font_family); + Asset get_font_asset(const std::string font_family); private: }; |