aboutsummaryrefslogtreecommitdiff
path: root/src/engine/user/cursor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/user/cursor.hpp')
-rw-r--r--src/engine/user/cursor.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/user/cursor.hpp b/src/engine/user/cursor.hpp
index 9d614f1..080321e 100644
--- a/src/engine/user/cursor.hpp
+++ b/src/engine/user/cursor.hpp
@@ -1,11 +1,12 @@
#pragma once
-#include "DI/auto_wirable.hpp"
#include "interfaces/cursor.hpp"
#include "engine/data/vector2.hpp"
#include <fmt/core.h>
+#include <yacppdic/auto_wirable.hpp>
+
#include <memory>
#include <string_view>
#include <unordered_map>
@@ -30,7 +31,7 @@ const std::unordered_map<Vector2, std::string_view, Vector2Hasher>
{ Vector2::right(), MOVE_CURSOR_RIGHT } };
class CursorController : public ICursorController,
- public AutoWirable<ICursorController, CursorController>
+ public yacppdic::AutoWirable<ICursorController, CursorController>
{
public:
CursorController() noexcept;