diff --git a/glm/core/_swizzle.hpp b/glm/core/_swizzle.hpp index 429a92ff..88192819 100644 --- a/glm/core/_swizzle.hpp +++ b/glm/core/_swizzle.hpp @@ -191,7 +191,7 @@ namespace detail typedef ValueType value_type; struct Stub {}; - _swizzle_base2& operator= (const Stub& that) {} + _swizzle_base2& operator= (const Stub& that) {return *this;} value_type operator[] (size_t i) const {