From 9bd19663c125692e2837c28dde55c38150b87cc0 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 28 Jun 2012 19:45:28 +0100 Subject: [PATCH] Fixed #186, fixed 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..61be1d6b 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= (Stub const &) {} value_type operator[] (size_t i) const {