aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/string_matrix.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/graphics/string_matrix.hpp')
-rw-r--r--src/engine/graphics/string_matrix.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/graphics/string_matrix.hpp b/src/engine/graphics/string_matrix.hpp
index 540d63b..40fbb11 100644
--- a/src/engine/graphics/string_matrix.hpp
+++ b/src/engine/graphics/string_matrix.hpp
@@ -19,21 +19,21 @@ public:
*
* @param bounds The bounds of the matrix
*/
- explicit StringMatrix(const Bounds &bounds);
+ explicit StringMatrix(const Bounds &bounds) noexcept;
/**
* Fills the matrix with a element.
*
* @param element A element
*/
- void fill(std::string_view element) override;
+ void fill(std::string_view element) noexcept override;
/**
* Returns a element of the matrix.
*
* @param pos The position of a element
*/
- [[nodiscard]] std::string_view get(const Vector2 &pos) const override;
+ [[nodiscard]] std::string_view get(const Vector2 &pos) const noexcept override;
/**
* Sets a element of the matrix.
@@ -41,17 +41,17 @@ public:
* @param pos The position of a element
* @param element A new element
*/
- void set(const Vector2 &pos, std::string_view element) override;
+ void set(const Vector2 &pos, std::string_view element) noexcept override;
/**
* Returns the number of rows the matrix has.
*/
- [[nodiscard]] uint32_t rows() const override;
+ [[nodiscard]] uint32_t rows() const noexcept override;
/**
* Returns the number of columns the matrix has.
*/
- [[nodiscard]] uint32_t columns() const override;
+ [[nodiscard]] uint32_t columns() const noexcept override;
private:
std::vector<std::vector<std::string_view>> _matrix;