aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/matrix.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/matrix.hpp')
-rw-r--r--src/interfaces/matrix.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interfaces/matrix.hpp b/src/interfaces/matrix.hpp
index 010138f..3ab102c 100644
--- a/src/interfaces/matrix.hpp
+++ b/src/interfaces/matrix.hpp
@@ -8,11 +8,13 @@
#include <memory>
-template <typename Element>
+template <typename ElementType>
// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IMatrix
{
public:
+ using Element = ElementType;
+
virtual ~IMatrix() noexcept = default;
virtual void fill(Element element) noexcept = 0;