aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/Font.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 14:37:55 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 14:37:55 +0100
commitaa1f1f9460fa713e00fd1830b08be743395110ce (patch)
treebdb8178c283c27cd9b261675822aa6d784dfe23f /src/crepe/facade/Font.h
parent86e3dcbc1e5b2fe07d89d6cde21f4b9e687962fa (diff)
sdl_ttf to submodules + feedback changes
Diffstat (limited to 'src/crepe/facade/Font.h')
-rw-r--r--src/crepe/facade/Font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/facade/Font.h b/src/crepe/facade/Font.h
index 983ef31..f7d5b50 100644
--- a/src/crepe/facade/Font.h
+++ b/src/crepe/facade/Font.h
@@ -35,7 +35,7 @@ public:
private:
//! The SDL_ttf font object with custom deleter.
- std::unique_ptr<TTF_Font, decltype(&TTF_CloseFont)> font;
+ std::unique_ptr<TTF_Font, std::function<void(TTF_Font*)>> font;
};
} // namespace crepe