diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-29 22:15:36 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-29 22:27:36 +0200 |
commit | 2bff8c999edde11270ecaf6fbd2d24f54d0e360b (patch) | |
tree | 7f879bdd592ba972b195e7fe55bb637f1b3c00b1 /src/interfaces | |
parent | d02d46d27982a8e351736067ab9787f87052b989 (diff) |
refactor: cell helper take matrix as shared pointer
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/cell_helper.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/cell_helper.hpp b/src/interfaces/cell_helper.hpp index d814aa7..69bf8b0 100644 --- a/src/interfaces/cell_helper.hpp +++ b/src/interfaces/cell_helper.hpp @@ -28,5 +28,5 @@ public: }; template <typename MatrixElement> -using ICellHelperFactory = - yacppdic::Factory<std::unique_ptr<ICellHelper>(const IMatrix<MatrixElement> &matrix)>; +using ICellHelperFactory = yacppdic::Factory<std::unique_ptr<ICellHelper>( + const std::shared_ptr<IMatrix<MatrixElement>> &matrix)>; |