aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-30 16:28:13 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commit40d02748924aa7c48b04cf948204d8dacdfbbc74 (patch)
tree4d07a3703207295799b02cef52618a8f0c820542 /src/bootstrap.cpp
parentdb6edcd473a684420e9a7611b24462df21165c1b (diff)
refactor: replace DI files with the yacppdic library
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r--src/bootstrap.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index f36bc6a..52d4ab8 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -31,15 +31,13 @@
#include "randomization/generator.hpp"
#include "randomization/seed_generator.hpp"
-#include "DI/factory.hpp"
-
#include <memory>
#include <random>
#include <string_view>
-auto bootstrap() noexcept -> Container
+auto bootstrap() noexcept -> yacppdic::Container
{
- auto container = Container();
+ auto container = yacppdic::Container();
container.bind<IArgumentParser>().to<ArgumentParser>();
container.bind<IInputHandler>().to<InputHandler>();