From dcc6d3d5cafe47d53d1b321476bf73bb2d65ae9b Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 8 Jun 2022 16:21:40 +0200 Subject: refactor: remove unused cursor controller dependency from scene --- src/bootstrap.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/bootstrap.cpp') diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp index e651512..1231937 100644 --- a/src/bootstrap.cpp +++ b/src/bootstrap.cpp @@ -39,6 +39,7 @@ auto bootstrap() noexcept -> yacppdic::Container container.bind().to(); container.bind().to(); container.bind().to(); + container.bind().to(); container.bind().to_factory( [&container]( @@ -72,14 +73,6 @@ auto bootstrap() noexcept -> yacppdic::Container return std::make_unique>(bounds); }); - container.bind().to_factory( - [&container](const std::shared_ptr &cursor_controller) - { - auto matrix_factory = container.get>(); - - return std::make_unique(matrix_factory, cursor_controller); - }); - container.bind().to_factory( [&container](const Bounds &size) { -- cgit v1.2.3-18-g5258