aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/scene.hpp
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/interfaces/scene.hpp
parentdb6edcd473a684420e9a7611b24462df21165c1b (diff)
refactor: replace DI files with the yacppdic library
Diffstat (limited to 'src/interfaces/scene.hpp')
-rw-r--r--src/interfaces/scene.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/scene.hpp b/src/interfaces/scene.hpp
index 88cb3b1..105b173 100644
--- a/src/interfaces/scene.hpp
+++ b/src/interfaces/scene.hpp
@@ -4,7 +4,7 @@
#include "interfaces/matrix.hpp"
#include "interfaces/window.hpp"
-#include "DI/factory.hpp"
+#include <yacppdic/factory.hpp>
#include <memory>
@@ -22,7 +22,7 @@ public:
-> const std::shared_ptr<IMatrix<std::string_view>> & = 0;
};
-using ISceneFactory = Factory<std::unique_ptr<IScene>(
+using ISceneFactory = yacppdic::Factory<std::unique_ptr<IScene>(
const std::shared_ptr<ICursorController> &cursor_controller,
const std::shared_ptr<IWindow> &window
)>;