mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Fix GCC11 compilation
This commit is contained in:
parent
29c1b20b41
commit
756ad17c2c
@ -991,7 +991,7 @@ namespace rsx
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
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)
|
for (const auto& range : allowed)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user