浏览代码

Fixed #186, fixed warning

Christophe Riccio 13 年之前
父节点
当前提交
9bd19663c1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      glm/core/_swizzle.hpp

+ 1 - 1
glm/core/_swizzle.hpp

@@ -191,7 +191,7 @@ namespace detail
 		typedef ValueType       value_type;
 		typedef ValueType       value_type;
 
 
 		struct Stub {};
 		struct Stub {};
-		_swizzle_base2& operator= (const Stub& that) {}
+		_swizzle_base2& operator= (Stub const &) {}
 
 
 		value_type  operator[]  (size_t i) const
 		value_type  operator[]  (size_t i) const
 		{
 		{