aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/string_matrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/graphics/string_matrix.cpp')
-rw-r--r--src/engine/graphics/string_matrix.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/graphics/string_matrix.cpp b/src/engine/graphics/string_matrix.cpp
index 75d3700..b1db334 100644
--- a/src/engine/graphics/string_matrix.cpp
+++ b/src/engine/graphics/string_matrix.cpp
@@ -9,11 +9,11 @@ StringMatrix::StringMatrix(const Bounds &bounds)
void StringMatrix::fill(std::string_view element)
{
- for (unsigned int row = 0U; row < _matrix.capacity(); row++)
+ for (uint32_t row = 0U; row < _matrix.capacity(); row++)
{
std::vector<std::string_view> row_vector = _matrix[row];
- for (unsigned int column = 0U; column < row_vector.capacity(); column++)
+ for (uint32_t column = 0U; column < row_vector.capacity(); column++)
{
_matrix[row][column] = element;
}
@@ -30,12 +30,12 @@ void StringMatrix::set(const Vector2 &pos, std::string_view element)
_matrix[pos.get_y()][pos.get_x()] = element;
}
-unsigned int StringMatrix::rows() const
+uint32_t StringMatrix::rows() const
{
return _rows;
}
-unsigned int StringMatrix::columns() const
+uint32_t StringMatrix::columns() const
{
return _columns;
}