diff --git a/src/Math/Matrix3.h b/src/Math/Matrix3.h index e47b501ad..6fccee0dc 100644 --- a/src/Math/Matrix3.h +++ b/src/Math/Matrix3.h @@ -68,7 +68,7 @@ template class Matrix3: public Matrix { inline constexpr Matrix3(const Matrix& other): Matrix(other) {} /** @copydoc Matrix::operator=() */ - inline Matrix3& operator=(const Matrix& other) { + inline Matrix3& operator=(const Matrix3& other) { Matrix::operator=(other); return *this; } diff --git a/src/Math/Matrix4.h b/src/Math/Matrix4.h index a5d8eb4ed..a4f2e24cc 100644 --- a/src/Math/Matrix4.h +++ b/src/Math/Matrix4.h @@ -137,7 +137,7 @@ template class Matrix4: public Matrix { inline constexpr Matrix4(const Matrix& other): Matrix(other) {} /** @copydoc Matrix::operator=() */ - inline Matrix4& operator=(const Matrix& other) { + inline Matrix4& operator=(const Matrix4& other) { Matrix::operator=(other); return *this; } diff --git a/src/Math/Vector2.h b/src/Math/Vector2.h index 145f54072..9da40c2dd 100644 --- a/src/Math/Vector2.h +++ b/src/Math/Vector2.h @@ -57,7 +57,7 @@ template class Vector2: public Vector { inline void setY(T value) { (*this)[1] = value; } /**< @brief Set Y component */ /** @copydoc Vector::operator=() */ - inline Vector2& operator=(const Vector& other) { + inline Vector2& operator=(const Vector2& other) { Vector::operator=(other); return *this; } diff --git a/src/Math/Vector3.h b/src/Math/Vector3.h index b470f10db..4324f0977 100644 --- a/src/Math/Vector3.h +++ b/src/Math/Vector3.h @@ -98,7 +98,7 @@ template class Vector3: public Vector { inline void setB(T value) { setZ(value); } /**< @brief Set B component */ /** @copydoc Vector::operator=() */ - inline Vector3& operator=(const Vector& other) { + inline Vector3& operator=(const Vector3& other) { Vector::operator=(other); return *this; } diff --git a/src/Math/Vector4.h b/src/Math/Vector4.h index 0027db695..9342800e8 100644 --- a/src/Math/Vector4.h +++ b/src/Math/Vector4.h @@ -99,7 +99,7 @@ template class Vector4: public Vector { inline constexpr Vector3 rgb() const { return xyz(); } /** @copydoc Vector::operator=() */ - inline Vector4& operator=(const Vector& other) { + inline Vector4& operator=(const Vector4& other) { Vector::operator=(other); return *this; }