From 40d02748924aa7c48b04cf948204d8dacdfbbc74 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 30 Apr 2022 16:28:13 +0200 Subject: refactor: replace DI files with the yacppdic library --- src/interfaces/status_updater.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/interfaces/status_updater.hpp') 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 + #include // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) @@ -16,7 +17,7 @@ public: void update(const Vector2 &context) noexcept override = 0; }; -using IStatusUpdaterFactory = Factory( +using IStatusUpdaterFactory = yacppdic::Factory( const std::shared_ptr &statusline, const std::shared_ptr &generation_tracker )>; -- cgit v1.2.3-18-g5258