From a93270968f9aab5d8c1c528daf02c8b27d09eed7 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 4 Apr 2022 11:04:41 +0200 Subject: refactor: fix compiler errors with libc++ --- src/bootstrap.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/bootstrap.cpp') diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp index f22c689..276b73a 100644 --- a/src/bootstrap.cpp +++ b/src/bootstrap.cpp @@ -56,6 +56,7 @@ auto bootstrap() noexcept -> Container container.bind().to(); container.bind().to(); container.bind().to(); + container.bind().to(); container.bind().to_factory(normalize_lambda( [&container](const std::shared_ptr &window, @@ -82,13 +83,6 @@ auto bootstrap() noexcept -> Container seed); }); - container.bind().to_factory( - []() - { - return construct_as_interface( - std::make_shared()); - }); - container.bind>().to_factory( [](const Bounds &bounds) { -- cgit v1.2.3-18-g5258