From 554ae06fa89f0e7988506130aba111d7d89549cd Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 5 Oct 2011 09:36:54 -0700 Subject: [PATCH] Minor change to typedef --- glm/core/_swizzle.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/core/_swizzle.hpp b/glm/core/_swizzle.hpp index 2ca69d58..807ccd32 100644 --- a/glm/core/_swizzle.hpp +++ b/glm/core/_swizzle.hpp @@ -155,12 +155,12 @@ namespace detail _apply_op(that, op()); } - value_type& operator[] (size_t i) + VecType& operator[] (size_t i) { static const int offset_dst[4] = { E0, E1, E2, E3 }; return elem(offset_dst[i]); } - value_type operator[] (size_t) const + VecType operator[] (size_t) const { static const int offset_dst[4] = { E0, E1, E2, E3 }; return elem(offset_dst[i]);