mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 05:00:06 -05:00
-Fix template compiler error that worked in C++17, but not in C++20.
This commit is contained in:
parent
391ee672bc
commit
6b0531718f
@ -169,11 +169,7 @@ struct EMBER_API Color : public v4T
|
|||||||
template <typename U>
|
template <typename U>
|
||||||
Color<T>& operator = (const Color<U>& color)
|
Color<T>& operator = (const Color<U>& color)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
|
||||||
v4T::operator=<U>(color);
|
|
||||||
#else
|
|
||||||
v4T::template operator=<U>(color);
|
v4T::template operator=<U>(color);
|
||||||
#endif
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user