aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r--src/bootstrap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index ef54940..02ec92d 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -76,16 +76,16 @@ auto bootstrap() noexcept -> yacppdic::Container
return std::make_unique<RandomNumberGenerator>(seed);
});
- container.bind<IMatrixFactory<std::string_view>>().to_factory(
+ container.bind<IMatrixFactory<char>>().to_factory(
[](const Bounds &bounds)
{
- return std::make_unique<Matrix<std::string_view>>(bounds);
+ return std::make_unique<Matrix<char>>(bounds);
});
container.bind<ISceneFactory>().to_factory(
[&container](const std::shared_ptr<ICursorController> &cursor_controller)
{
- auto matrix_factory = container.get<IMatrixFactory<std::string_view>>();
+ auto matrix_factory = container.get<IMatrixFactory<Scene::MatrixElement>>();
return std::make_unique<Scene>(matrix_factory, cursor_controller);
});