From 70b21e90d7be4d892b7d17440d64630e7ee1a575 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 3 Mar 2022 19:17:48 +0100 Subject: refactor: improve factories --- src/interfaces/matrix.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/interfaces/matrix.hpp') diff --git a/src/interfaces/matrix.hpp b/src/interfaces/matrix.hpp index ab5f40b..72d18d9 100644 --- a/src/interfaces/matrix.hpp +++ b/src/interfaces/matrix.hpp @@ -3,7 +3,6 @@ #include "interfaces/bounds.hpp" #include "interfaces/vector2.hpp" -#include #include template @@ -46,5 +45,4 @@ public: }; template -using IMatrixFactory = - std::function>(const IBounds &bounds)>; +using IMatrixFactory = std::shared_ptr> (*)(const IBounds &bounds); -- cgit v1.2.3-18-g5258