mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 07:18:54 +00:00
Fixed shadows template parameter warnings
This commit is contained in:
parent
8624e38379
commit
a8784e7518
2 changed files with 3 additions and 3 deletions
|
@ -87,8 +87,8 @@ namespace glm
|
|||
|
||||
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec() GLM_DEFAULT;
|
||||
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec const& v) GLM_DEFAULT;
|
||||
template<qualifier Q>
|
||||
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, T, Q> const& v);
|
||||
template<qualifier P>
|
||||
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, T, P> const& v);
|
||||
|
||||
// -- Explicit basic constructors --
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace glm
|
|||
union
|
||||
{
|
||||
struct { T x, y, z, w;};
|
||||
typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<P>::value>::type data;
|
||||
typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<Q>::value>::type data;
|
||||
};
|
||||
|
||||
# if GLM_COMPILER & GLM_COMPILER_CLANG
|
||||
|
|
Loading…
Add table
Reference in a new issue