aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-27 19:21:22 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commit5c1c672e018e41e5c87a0263a851684a52d9c1fb (patch)
tree815a067fb558fe3c55b19842402d68e0dc0953f2 /src/bootstrap.cpp
parent15c7a8fda742cc393310d75e0e1be89c3042eac0 (diff)
refactor: replace string matrix with template matrix
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r--src/bootstrap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index 8dec609..e8315bd 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -19,8 +19,8 @@
#include "engine/data/bounds.hpp"
#include "engine/data/vector2.hpp"
#include "engine/engine.hpp"
+#include "engine/graphics/matrix.hpp"
#include "engine/graphics/scene.hpp"
-#include "engine/graphics/string_matrix.hpp"
#include "engine/graphics/window.hpp"
#include "engine/user/cursor.hpp"
#include "engine/user/input.hpp"
@@ -83,7 +83,7 @@ Container bootstrap() noexcept
[](const Bounds &bounds)
{
return std::dynamic_pointer_cast<IMatrix<std::string_view>>(
- std::make_shared<StringMatrix>(bounds));
+ std::make_shared<Matrix<std::string_view>>(bounds));
});
container.bind<ISceneFactory>().to_factory(normalize_lambda(