From ceefd214c4a7799b47fbd2c6ba322649d3462700 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 30 May 2013 15:17:00 +0200 Subject: [PATCH] Warning fix on Intel compiler. --- math/lin/quat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/lin/quat.h b/math/lin/quat.h index 89746e5aab..85b4d94c94 100644 --- a/math/lin/quat.h +++ b/math/lin/quat.h @@ -76,7 +76,7 @@ public: float &operator [] (int i) { return *((&x) + i); } - const float operator [] (int i) const { + float operator [] (int i) const { return *((&x) + i); } //not sure about this, maybe mag is supposed to sqrt