diff --git a/glm/core/_swizzle.hpp b/glm/core/_swizzle.hpp index 1b5f3ccb..5a522fef 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= (Stub const &) {} + _swizzle_base2& operator= (Stub const &) { return *this; } value_type operator[] (size_t i) const {