aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/status_updater.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/status_updater.hpp
parentdb6edcd473a684420e9a7611b24462df21165c1b (diff)
refactor: replace DI files with the yacppdic library
Diffstat (limited to 'src/interfaces/status_updater.hpp')
-rw-r--r--src/interfaces/status_updater.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/status_updater.hpp b/src/interfaces/status_updater.hpp
index 83b2bf2..4b2ceb1 100644
--- a/src/interfaces/status_updater.hpp
+++ b/src/interfaces/status_updater.hpp
@@ -4,9 +4,10 @@
#include "interfaces/statusline.hpp"
#include "interfaces/subscriber.hpp"
-#include "DI/factory.hpp"
#include "engine/data/vector2.hpp"
+#include <yacppdic/factory.hpp>
+
#include <memory>
// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
@@ -16,7 +17,7 @@ public:
void update(const Vector2 &context) noexcept override = 0;
};
-using IStatusUpdaterFactory = Factory<std::unique_ptr<IStatusUpdater>(
+using IStatusUpdaterFactory = yacppdic::Factory<std::unique_ptr<IStatusUpdater>(
const std::shared_ptr<IStatusLine> &statusline,
const std::shared_ptr<IGenerationTracker> &generation_tracker
)>;