diff options
author | HampusM <hampus@hampusmat.com> | 2022-04-30 16:28:13 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:58 +0200 |
commit | 40d02748924aa7c48b04cf948204d8dacdfbbc74 (patch) | |
tree | 4d07a3703207295799b02cef52618a8f0c820542 /src/interfaces/statusline.hpp | |
parent | db6edcd473a684420e9a7611b24462df21165c1b (diff) |
refactor: replace DI files with the yacppdic library
Diffstat (limited to 'src/interfaces/statusline.hpp')
-rw-r--r-- | src/interfaces/statusline.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/statusline.hpp b/src/interfaces/statusline.hpp index c104fad..0da295e 100644 --- a/src/interfaces/statusline.hpp +++ b/src/interfaces/statusline.hpp @@ -3,7 +3,7 @@ #include "interfaces/cursor.hpp" #include "interfaces/window.hpp" -#include "DI/factory.hpp" +#include <yacppdic/factory.hpp> #include <string_view> @@ -27,7 +27,7 @@ public: ) noexcept = 0; }; -using IStatusLineFactory = Factory<std::unique_ptr<IStatusLine>( +using IStatusLineFactory = yacppdic::Factory<std::unique_ptr<IStatusLine>( const std::shared_ptr<ICursorController> &cursor_controller, const std::shared_ptr<IWindow> &window )>; |