Browse Source

Merge pull request #385 from BryceMehring/master

Fixed C++11 standard library error message #385
Christophe R. 10 years ago
parent
commit
cd907a8f0f
1 changed files with 4 additions and 4 deletions
  1. 4 4
      glm/gtx/hash.hpp

+ 4 - 4
glm/gtx/hash.hpp

@@ -41,10 +41,6 @@
 
 
 #pragma once
 #pragma once
 
 
-#if !GLM_HAS_CXX11_STL
-#	error "GLM_GTX_hash requires C++11 standard library support"
-#endif
-
 #include <functional>
 #include <functional>
 
 
 #include "../vec2.hpp"
 #include "../vec2.hpp"
@@ -67,6 +63,10 @@
 #include "../mat4x3.hpp"
 #include "../mat4x3.hpp"
 #include "../mat4x4.hpp"
 #include "../mat4x4.hpp"
 
 
+#if !GLM_HAS_CXX11_STL
+#	error "GLM_GTX_hash requires C++11 standard library support"
+#endif
+
 namespace std
 namespace std
 {
 {
 	template <typename T, glm::precision P>
 	template <typename T, glm::precision P>