mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-12 21:44:18 +01:00
fix failure on gcc and clang
This commit is contained in:
parent
8de154893c
commit
1f89d5d184
@ -91,7 +91,7 @@ public:
|
||||
{
|
||||
x-=other.x; y-=other.y;
|
||||
}
|
||||
template<class = typename std::enable_if<std::is_signed<T>::value>::type>
|
||||
template<typename Q = T,class = typename std::enable_if<std::is_signed<Q>::value>::type>
|
||||
Vec2<decltype(-T{})> operator -() const
|
||||
{
|
||||
return MakeVec(-x,-y);
|
||||
@ -222,7 +222,7 @@ public:
|
||||
{
|
||||
x-=other.x; y-=other.y; z-=other.z;
|
||||
}
|
||||
template<class = typename std::enable_if<std::is_signed<T>::value>::type>
|
||||
template<typename Q = T,class = typename std::enable_if<std::is_signed<Q>::value>::type>
|
||||
Vec3<decltype(-T{})> operator -() const
|
||||
{
|
||||
return MakeVec(-x,-y,-z);
|
||||
@ -393,7 +393,7 @@ public:
|
||||
{
|
||||
x-=other.x; y-=other.y; z-=other.z; w-=other.w;
|
||||
}
|
||||
template<class = typename std::enable_if<std::is_signed<T>::value>::type>
|
||||
template<typename Q = T,class = typename std::enable_if<std::is_signed<Q>::value>::type>
|
||||
Vec4<decltype(-T{})> operator -() const
|
||||
{
|
||||
return MakeVec(-x,-y,-z,-w);
|
||||
|
Loading…
Reference in New Issue
Block a user