Browse Source

Fixed unitilized constructor on MacOSX

Christophe Riccio 11 years ago
parent
commit
cb8250c20b
2 changed files with 8 additions and 2 deletions
  1. 8 0
      glm/detail/setup.hpp
  2. 0 2
      glm/detail/type_vec.hpp

+ 8 - 0
glm/detail/setup.hpp

@@ -798,3 +798,11 @@ namespace detail
 #		pragma message("GLM: #define GLM_FORCE_SIZE_T_LENGTH for .length() to return a size_t")
 #		pragma message("GLM: #define GLM_FORCE_SIZE_T_LENGTH for .length() to return a size_t")
 #	endif
 #	endif
 #endif//GLM_MESSAGE
 #endif//GLM_MESSAGE
+
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// Uninitialize constructors
+
+namespace glm
+{
+	enum ctor{uninitialize};
+}//namespace glm

+ 0 - 2
glm/detail/type_vec.hpp

@@ -33,8 +33,6 @@
 
 
 namespace glm
 namespace glm
 {
 {
-	enum ctor{uninitialize};
-
 	template <typename T, precision P> struct tvec1;
 	template <typename T, precision P> struct tvec1;
 	template <typename T, precision P> struct tvec2;
 	template <typename T, precision P> struct tvec2;
 	template <typename T, precision P> struct tvec3;
 	template <typename T, precision P> struct tvec3;