Fix GCC11 compilation

This commit is contained in:
kd-11 2023-01-10 14:03:49 +03:00 committed by kd-11
parent 29c1b20b41
commit 756ad17c2c

View File

@ -991,7 +991,7 @@ namespace rsx
}
template <typename T>
expected<T> gcm_enum_cast(u32 value, std::initializer_list<u32[2]> allowed)
expected<T> gcm_enum_cast(u32 value, std::initializer_list<const std::array<u32, 2>> allowed)
{
for (const auto& range : allowed)
{