diff options
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r-- | src/bootstrap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp index 368f2a8..b8649ec 100644 --- a/src/bootstrap.cpp +++ b/src/bootstrap.cpp @@ -73,7 +73,7 @@ auto bootstrap() noexcept -> yacppdic::DIContainer generation_tracker, status_manager, user_input_observer, - cell_helper_factory(*(scene->get_matrix())), + cell_helper_factory(scene->get_matrix()), rle_reader); }); @@ -105,7 +105,7 @@ auto bootstrap() noexcept -> yacppdic::DIContainer }); di_container.bind<ICellHelperFactory<char>>().to_factory( - [](const IMatrix<char> &matrix) + [](const std::shared_ptr<IMatrix<char>> &matrix) { return std::make_unique<CellHelper<char>>(matrix); }); |