diff --git a/include/mtl/vec.hpp b/include/mtl/vec.hpp index b083825..a87750d 100644 --- a/include/mtl/vec.hpp +++ b/include/mtl/vec.hpp @@ -160,6 +160,10 @@ public: y = _y; } + constexpr vec2& operator=(const vec2& other) noexcept { + vec2::operator=(other); + return *this; + } constexpr vec2& operator=(const vec<2>& other) noexcept { vec::operator=(other); return *this;