From cb8250c20b628478cc451684f0c371d7ad4c23ac Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 24 Oct 2014 21:30:11 +0200 Subject: [PATCH] Fixed unitilized constructor on MacOSX --- glm/detail/setup.hpp | 8 ++++++++ glm/detail/type_vec.hpp | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 1b12d911..a3d6e740 100644 --- a/glm/detail/setup.hpp +++ b/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") # endif #endif//GLM_MESSAGE + +/////////////////////////////////////////////////////////////////////////////////////////////////// +// Uninitialize constructors + +namespace glm +{ + enum ctor{uninitialize}; +}//namespace glm diff --git a/glm/detail/type_vec.hpp b/glm/detail/type_vec.hpp index fd511dbe..95e1e9f5 100644 --- a/glm/detail/type_vec.hpp +++ b/glm/detail/type_vec.hpp @@ -33,8 +33,6 @@ namespace glm { - enum ctor{uninitialize}; - template struct tvec1; template struct tvec2; template struct tvec3;