aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/Font.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 14:45:28 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 14:45:28 +0100
commit9579f2a385de42cf74d50038c79a58c14eb0d980 (patch)
tree7e8f96e943705fccf2904fa20ee58aeb5242f943 /src/crepe/facade/Font.cpp
parentfda61be91cd8667fa2b51e3b8a17ba6b93b728c8 (diff)
make format
Diffstat (limited to 'src/crepe/facade/Font.cpp')
-rw-r--r--src/crepe/facade/Font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/facade/Font.cpp b/src/crepe/facade/Font.cpp
index f111af9..1ee3de1 100644
--- a/src/crepe/facade/Font.cpp
+++ b/src/crepe/facade/Font.cpp
@@ -13,7 +13,7 @@ Font::Font(const Asset & src, Mediator & mediator)
TTF_Font * font = TTF_OpenFont(FONT_PATH.c_str(), config.font.size);
if (font == NULL)
throw runtime_error(format("Font: {} (path: {})", TTF_GetError(), FONT_PATH));
- this->font = { font, [] (TTF_Font * font) { TTF_CloseFont(font); } };
+ this->font = {font, [](TTF_Font * font) { TTF_CloseFont(font); }};
}
TTF_Font * Font::get_font() const { return this->font.get(); }