diff --git a/glm/core/type_vec1.hpp b/glm/core/type_vec1.hpp index 0bc4d878..395cc789 100644 --- a/glm/core/type_vec1.hpp +++ b/glm/core/type_vec1.hpp @@ -78,9 +78,7 @@ namespace detail // Implicit basic constructors GLM_FUNC_DECL tvec1(); -#ifndef GLM_NO_EXPLICIT_COPY GLM_FUNC_DECL tvec1(tvec1 const & v); -#endif ////////////////////////////////////// // Explicit basic constructors @@ -118,9 +116,7 @@ namespace detail ////////////////////////////////////// // Unary arithmetic operators -#ifndef GLM_NO_EXPLICIT_COPY GLM_FUNC_DECL tvec1 & operator= (tvec1 const & v); -#endif template GLM_FUNC_DECL tvec1 & operator= (tvec1 const & v); diff --git a/glm/core/type_vec1.inl b/glm/core/type_vec1.inl index 4fff65e3..6b12e03d 100644 --- a/glm/core/type_vec1.inl +++ b/glm/core/type_vec1.inl @@ -73,7 +73,6 @@ namespace detail ) {} -#ifndef GLM_NO_EXPLICIT_COPY template GLM_FUNC_QUALIFIER tvec1::tvec1 ( @@ -81,7 +80,6 @@ namespace detail ) : x(v.x) {} -#endif ////////////////////////////////////// // Explicit basic constructors @@ -150,7 +148,6 @@ namespace detail ////////////////////////////////////// // Unary arithmetic operators -#ifndef GLM_NO_EXPLICIT_COPY template GLM_FUNC_QUALIFIER tvec1 & tvec1::operator= ( @@ -160,7 +157,6 @@ namespace detail this->x = v.x; return *this; } -#endif template template diff --git a/glm/core/type_vec2.hpp b/glm/core/type_vec2.hpp index 61d4a952..3f8083d8 100644 --- a/glm/core/type_vec2.hpp +++ b/glm/core/type_vec2.hpp @@ -107,9 +107,7 @@ namespace detail // Implicit basic constructors GLM_FUNC_DECL tvec2(); -#ifndef GLM_NO_EXPLICIT_COPY GLM_FUNC_DECL tvec2(tvec2 const & v); -#endif ////////////////////////////////////// // Explicit basic constructors @@ -162,9 +160,7 @@ namespace detail ////////////////////////////////////// // Unary arithmetic operators -#ifndef GLM_NO_EXPLICIT_COPY GLM_FUNC_DECL tvec2 & operator= (tvec2 const & v); -#endif template GLM_FUNC_DECL tvec2 & operator= (tvec2 const & v); diff --git a/glm/core/type_vec2.inl b/glm/core/type_vec2.inl index c7d53f6e..fbad911b 100644 --- a/glm/core/type_vec2.inl +++ b/glm/core/type_vec2.inl @@ -76,7 +76,6 @@ namespace detail ) {} -#ifndef GLM_NO_EXPLICIT_COPY template GLM_FUNC_QUALIFIER tvec2::tvec2 ( @@ -85,7 +84,6 @@ namespace detail x(v.x), y(v.y) {} -#endif ////////////////////////////////////// // Explicit basic constructors @@ -181,7 +179,6 @@ namespace detail ////////////////////////////////////// // Unary arithmetic operators -#ifndef GLM_NO_EXPLICIT_COPY template GLM_FUNC_QUALIFIER tvec2 & tvec2::operator= ( @@ -192,7 +189,6 @@ namespace detail this->y = v.y; return *this; } -#endif template template diff --git a/glm/core/type_vec3.hpp b/glm/core/type_vec3.hpp index 75640632..7165fa5d 100644 --- a/glm/core/type_vec3.hpp +++ b/glm/core/type_vec3.hpp @@ -108,9 +108,7 @@ namespace detail // Implicit basic constructors GLM_FUNC_DECL tvec3(); -#ifndef GLM_NO_EXPLICIT_COPY GLM_FUNC_DECL tvec3(tvec3 const & v); -#endif ////////////////////////////////////// // Explicit basic constructors @@ -186,9 +184,7 @@ namespace detail ////////////////////////////////////// // Unary arithmetic operators -#ifndef GLM_NO_EXPLICIT_COPY GLM_FUNC_DECL tvec3 & operator= (tvec3 const & v); -#endif template GLM_FUNC_DECL tvec3 & operator= (tvec3 const & v); diff --git a/glm/core/type_vec3.inl b/glm/core/type_vec3.inl index 0f774b5b..3bcf1c8a 100644 --- a/glm/core/type_vec3.inl +++ b/glm/core/type_vec3.inl @@ -77,7 +77,6 @@ namespace detail ) {} -#ifndef GLM_NO_EXPLICIT_COPY template GLM_FUNC_QUALIFIER tvec3::tvec3 ( @@ -87,7 +86,6 @@ namespace detail y(v.y), z(v.z) {} -#endif ////////////////////////////////////// // Explicit basic constructors @@ -230,7 +228,6 @@ namespace detail ////////////////////////////////////// // Unary arithmetic operators -#ifndef GLM_NO_EXPLICIT_COPY template GLM_FUNC_QUALIFIER tvec3& tvec3::operator= ( @@ -242,7 +239,6 @@ namespace detail this->z = v.z; return *this; } -#endif template template diff --git a/glm/core/type_vec4.hpp b/glm/core/type_vec4.hpp index 48c08188..c8860e22 100644 --- a/glm/core/type_vec4.hpp +++ b/glm/core/type_vec4.hpp @@ -109,9 +109,7 @@ namespace detail // Implicit basic constructors GLM_FUNC_DECL tvec4(); -#ifndef GLM_NO_EXPLICIT_COPY GLM_FUNC_DECL tvec4(type const & v); -#endif ////////////////////////////////////// // Explicit basic constructors @@ -241,9 +239,7 @@ namespace detail ////////////////////////////////////// // Unary arithmetic operators -#ifndef GLM_NO_EXPLICIT_COPY GLM_FUNC_DECL tvec4 & operator= (tvec4 const & v); -#endif template GLM_FUNC_DECL tvec4 & operator= (tvec4 const & v); diff --git a/glm/core/type_vec4.inl b/glm/core/type_vec4.inl index a636a6e8..744d2d0f 100644 --- a/glm/core/type_vec4.inl +++ b/glm/core/type_vec4.inl @@ -78,7 +78,6 @@ namespace detail ) {} -#ifndef GLM_NO_EXPLICIT_COPY template GLM_FUNC_QUALIFIER tvec4::tvec4 ( @@ -89,7 +88,6 @@ namespace detail z(v.z), w(v.w) {} -#endif ////////////////////////////////////// // Explicit basic constructors @@ -369,7 +367,6 @@ namespace detail ////////////////////////////////////// // Unary arithmetic operators -#ifndef GLM_NO_EXPLICIT_COPY template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator= ( @@ -382,7 +379,6 @@ namespace detail this->w = v.w; return *this; } -#endif template template