diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-17 10:48:43 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-17 10:48:43 +0100 |
commit | 3b5b5258b0f46a3492a7fd777908dfb01e15417b (patch) | |
tree | 7c712c45cc627a1d7bfcb8ea949e8b0a59214a74 /src/crepe/facade/Font.h | |
parent | d63eb7302d05fbe9b4c044ece3444e8ac4e56e02 (diff) |
code not working
Diffstat (limited to 'src/crepe/facade/Font.h')
-rw-r--r-- | src/crepe/facade/Font.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crepe/facade/Font.h b/src/crepe/facade/Font.h index 3ff156f..16f8cb6 100644 --- a/src/crepe/facade/Font.h +++ b/src/crepe/facade/Font.h @@ -24,7 +24,14 @@ public: * \param mediator The Mediator object used for managing the SDL context or related systems. */ Font(const Asset & src, Mediator & mediator); + Font(const Font &) = delete; + Font &operator=(const Font &) = delete; + // Default move constructor and move assignment operator + Font(Font &&) noexcept = delete; + Font &operator=(Font &&) noexcept = delete; + + ~Font() = default; /** * \brief Gets the underlying TTF_Font resource. * |