diff --git a/glm/gtx/hash.hpp b/glm/gtx/hash.hpp index 93b1bc2d..05dae9f4 100644 --- a/glm/gtx/hash.hpp +++ b/glm/gtx/hash.hpp @@ -73,9 +73,9 @@ namespace std }; template - struct hash> + struct hash> { - GLM_FUNC_DECL size_t operator()(glm::tquat const& q) const; + GLM_FUNC_DECL size_t operator()(glm::qua const& q) const; }; template diff --git a/glm/gtx/hash.inl b/glm/gtx/hash.inl index 64443ef8..ff71ca9f 100644 --- a/glm/gtx/hash.inl +++ b/glm/gtx/hash.inl @@ -62,7 +62,7 @@ namespace std } template - GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::tquat const& q) const + GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::qua const& q) const { size_t seed = 0; hash hasher; @@ -77,7 +77,7 @@ namespace std GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::tdualquat const& q) const { size_t seed = 0; - hash> hasher; + hash> hasher; glm::detail::hash_combine(seed, hasher(q.real)); glm::detail::hash_combine(seed, hasher(q.dual)); return seed;