-Fix template compiler error that worked in C++17, but not in C++20.

This commit is contained in:
Person 2024-11-24 10:53:45 -07:00
parent 391ee672bc
commit 6b0531718f

View File

@ -169,11 +169,7 @@ struct EMBER_API Color : public v4T
template <typename U>
Color<T>& operator = (const Color<U>& color)
{
#ifdef _WIN32
v4T::operator=<U>(color);
#else
v4T::template operator=<U>(color);
#endif
return *this;
}