From 9d149d677f7979cfe9a3980980ea4c22fe752ffc Mon Sep 17 00:00:00 2001 From: Felix Ungman Date: Wed, 25 Sep 2013 10:12:16 +0200 Subject: [PATCH] Fixed missing constexpr in quaternion length --- 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 ab30875f..bf9a1634 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();