diff --git a/include/omath/Matrix.hpp b/include/omath/Matrix.hpp index a191e37..2488815 100644 --- a/include/omath/Matrix.hpp +++ b/include/omath/Matrix.hpp @@ -93,7 +93,7 @@ namespace omath Matrix operator/(float f) const; [[nodiscard]] - std::string ToSrtring() const; + std::string ToString() const; ~Matrix(); diff --git a/source/Matrix.cpp b/source/Matrix.cpp index 03096e8..de92ab9 100644 --- a/source/Matrix.cpp +++ b/source/Matrix.cpp @@ -213,7 +213,7 @@ namespace omath return out; } - std::string Matrix::ToSrtring() const + std::string Matrix::ToString() const { std::string str; diff --git a/tests/UnitTestMatrix.cpp b/tests/UnitTestMatrix.cpp index c9a8b93..bc749d0 100644 --- a/tests/UnitTestMatrix.cpp +++ b/tests/UnitTestMatrix.cpp @@ -145,7 +145,7 @@ TEST_F(UnitTestMatrix, Clear) TEST_F(UnitTestMatrix, ToString) { - const std::string str = m2.ToSrtring(); + const std::string str = m2.ToString(); EXPECT_FALSE(str.empty()); }