aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-16 20:58:02 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-16 20:58:02 +0100
commit9f3af4431853288c6e1ec0ff5b8f5bb0e6379b66 (patch)
tree82abb86c0841c9c03fc7bcc4cee6b5b2f702e6b2 /src/example
parente84717feb5a9435b96b6d10e77e699cea5d8bff9 (diff)
added const
Diffstat (limited to 'src/example')
-rw-r--r--src/example/loadfont.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/example/loadfont.cpp b/src/example/loadfont.cpp
index 35afdf7..a77e457 100644
--- a/src/example/loadfont.cpp
+++ b/src/example/loadfont.cpp
@@ -13,6 +13,7 @@ int main() {
// SDLFontContext font_facade;
Mediator mediator;
SDLContext sdl_context{mediator};
+ ComponentManager component_manager{mediator};
ResourceManager resource_manager{mediator};
try {
// Correct way to create a unique pointer for Text