diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-23 20:44:42 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-23 20:44:42 +0100 |
commit | bc982b84ec3e1085c440e4d5ea1de597aee63565 (patch) | |
tree | 177bb05838af66dbefc240573687d6e28509e7fc /include/YAGE/Math | |
parent | e912ca9603c5407eb2732f3620d07cf2ca60c80e (diff) | |
download | YAGE-bc982b84ec3e1085c440e4d5ea1de597aee63565.tar.gz YAGE-bc982b84ec3e1085c440e4d5ea1de597aee63565.zip |
Applied more fixes on headers.
Passed all headers through clang-tidy and modernize rules.
Diffstat (limited to 'include/YAGE/Math')
-rw-r--r-- | include/YAGE/Math/matrix.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/YAGE/Math/matrix.hpp b/include/YAGE/Math/matrix.hpp index 52536c17..999d4274 100644 --- a/include/YAGE/Math/matrix.hpp +++ b/include/YAGE/Math/matrix.hpp @@ -273,7 +273,7 @@ public: const Type& operator[](int col) const { return this->data_[col]; } - virtual std::string toString() const { + std::string toString() const override override override { std::stringstream ss; ss << "["; for (std::size_t i = 0; i < this->data_.size() - 1; ++i) { @@ -311,7 +311,7 @@ public: }; /// Definition of a 2D vector. -typedef Vector2<double> Vector2d; +using Vector2d = Vector2<double>; /** Namespace containing functions that operate on matrices. */ namespace matrix { |