aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/matrix_iterator.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-27 22:08:43 +0200
committerHampusM <hampus@hampusmat.com>2022-06-27 22:08:43 +0200
commit6b0e2a25cf1e98d3f11d4e6c0305dd327048bbb8 (patch)
treea62c23f4e66949fe109e07dec95ad3a3e5229a7c /src/engine/graphics/matrix_iterator.hpp
parent9d0fe1b42c9f6a5c09bab444966d347a71a4b905 (diff)
refactor: use int types from std namespace
Diffstat (limited to 'src/engine/graphics/matrix_iterator.hpp')
-rw-r--r--src/engine/graphics/matrix_iterator.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/graphics/matrix_iterator.hpp b/src/engine/graphics/matrix_iterator.hpp
index 70a59bf..2d91ff1 100644
--- a/src/engine/graphics/matrix_iterator.hpp
+++ b/src/engine/graphics/matrix_iterator.hpp
@@ -28,7 +28,7 @@ class MatrixRow
public:
using RowPtr = gsl::owner<Element *>;
- explicit MatrixRow(RowPtr row_ptr, const uint32_t &column_cnt) noexcept;
+ explicit MatrixRow(RowPtr row_ptr, const std::uint32_t &column_cnt) noexcept;
[[nodiscard]] auto begin() const noexcept -> MatrixRowIterator<Element>;
@@ -37,7 +37,7 @@ public:
private:
RowPtr _row_ptr;
- const uint32_t &_column_cnt;
+ const std::uint32_t &_column_cnt;
};
template <typename Element>
@@ -46,7 +46,7 @@ class MatrixIterator
public:
using RowPtr = gsl::owner<Element **>;
- explicit MatrixIterator(RowPtr row_ptr, const uint32_t &column_cnt) noexcept;
+ explicit MatrixIterator(RowPtr row_ptr, const std::uint32_t &column_cnt) noexcept;
auto operator++() noexcept -> MatrixIterator &;
auto operator++(int) noexcept -> MatrixIterator;
@@ -59,7 +59,7 @@ public:
private:
RowPtr _row_ptr;
- const uint32_t &_column_cnt;
+ const std::uint32_t &_column_cnt;
};
#include "matrix_iterator_impl.hpp"