From 6e337bd5e0f707f98cfaaf3cd4aa111e3aa264c7 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 30 Sep 2013 01:16:34 +0200 Subject: [PATCH] Added missing const expression qualifier on quaternion legth declaration --- glm/gtc/quaternion.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtc/quaternion.hpp b/glm/gtc/quaternion.hpp index e2ef6176..cf5690b7 100644 --- a/glm/gtc/quaternion.hpp +++ b/glm/gtc/quaternion.hpp @@ -61,7 +61,7 @@ namespace detail public: T x, y, z, w; - GLM_FUNC_DECL int length() const; + GLM_FUNC_DECL GLM_CONSTEXPR int length() const; // Constructors tquat();