From a039c8ad36779903571419cb06cd052f8fc41512 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Mar 2022 17:40:04 +0200 Subject: refactor: use trailing return types --- src/engine/graphics/matrix.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/engine/graphics/matrix.hpp') diff --git a/src/engine/graphics/matrix.hpp b/src/engine/graphics/matrix.hpp index 2c9ba81..f71018b 100644 --- a/src/engine/graphics/matrix.hpp +++ b/src/engine/graphics/matrix.hpp @@ -23,21 +23,21 @@ public: void fill(Element element) noexcept override; - [[nodiscard]] Element get(const Vector2 &pos) const noexcept override; + [[nodiscard]] auto get(const Vector2 &pos) const noexcept -> Element override; void set(const Vector2 &pos, Element element) noexcept override; - [[nodiscard]] uint32_t get_row_cnt() const noexcept override; + [[nodiscard]] auto get_row_cnt() const noexcept -> uint32_t override; - [[nodiscard]] uint32_t get_column_cnt() const noexcept override; + [[nodiscard]] auto get_column_cnt() const noexcept -> uint32_t override; - [[nodiscard]] MatrixIterator begin() const noexcept override; + [[nodiscard]] auto begin() const noexcept -> MatrixIterator override; - [[nodiscard]] MatrixIterator end() const noexcept override; + [[nodiscard]] auto end() const noexcept -> MatrixIterator override; - Matrix &operator=(const Matrix &rhs) noexcept; + auto operator=(const Matrix &rhs) noexcept -> Matrix &; - Matrix &operator=(Matrix &&rhs) noexcept; + auto operator=(Matrix &&rhs) noexcept -> Matrix &; private: gsl::owner _matrix; -- cgit v1.2.3-18-g5258