diff options
Diffstat (limited to 'src/interfaces/matrix.hpp')
-rw-r--r-- | src/interfaces/matrix.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/matrix.hpp b/src/interfaces/matrix.hpp index 7fea003..5a01943 100644 --- a/src/interfaces/matrix.hpp +++ b/src/interfaces/matrix.hpp @@ -1,10 +1,11 @@ #pragma once -#include "DI/factory.hpp" #include "engine/data/bounds.hpp" #include "engine/data/vector2.hpp" #include "engine/matrix_iterator.hpp" +#include <yacppdic/factory.hpp> + #include <memory> template <typename Element> @@ -39,4 +40,5 @@ public: }; template <typename Element> -using IMatrixFactory = Factory<std::unique_ptr<IMatrix<Element>>(const Bounds &bounds)>; +using IMatrixFactory = + yacppdic::Factory<std::unique_ptr<IMatrix<Element>>(const Bounds &bounds)>; |