From 50d3b3d0450687856be8d25eaee2f1d81eddb6fd Mon Sep 17 00:00:00 2001 From: Ian Caven Date: Tue, 20 Mar 2012 12:06:38 -0700 Subject: [PATCH] Added a return statement to remove a compiler warning --- 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 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 {