aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/matrix.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.hpp
parent9d0fe1b42c9f6a5c09bab444966d347a71a4b905 (diff)
refactor: use int types from std namespace
Diffstat (limited to 'src/engine/graphics/matrix.hpp')
-rw-r--r--src/engine/graphics/matrix.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/graphics/matrix.hpp b/src/engine/graphics/matrix.hpp
index 7b4d037..58905ee 100644
--- a/src/engine/graphics/matrix.hpp
+++ b/src/engine/graphics/matrix.hpp
@@ -28,9 +28,9 @@ public:
void set(const Vector2 &pos, Element element) noexcept override;
- [[nodiscard]] auto get_row_cnt() const noexcept -> uint32_t override;
+ [[nodiscard]] auto get_row_cnt() const noexcept -> std::uint32_t override;
- [[nodiscard]] auto get_column_cnt() const noexcept -> uint32_t override;
+ [[nodiscard]] auto get_column_cnt() const noexcept -> std::uint32_t override;
[[nodiscard]] auto begin() const noexcept -> MatrixIterator<Element> override;
@@ -43,8 +43,8 @@ public:
private:
gsl::owner<Element **> _matrix;
- uint32_t _row_cnt;
- uint32_t _column_cnt;
+ std::uint32_t _row_cnt;
+ std::uint32_t _column_cnt;
void _delete_matrix() noexcept;