From e166850954269cdb0cf7f64b7f59f6ec1ac45012 Mon Sep 17 00:00:00 2001 From: tszirr Date: Mon, 27 May 2013 14:59:16 +0200 Subject: [PATCH] Fix missing return statement in swizzle assignment operator --- glm/core/_swizzle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {