mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-05-09 04:14:20 +02:00
decoder_detail: Avoid MSVC ICE
MSVC has an internal compiler error when assume is present in this constexpr function
This commit is contained in:
@@ -104,7 +104,10 @@ struct detail {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef DYNARMIC_IGNORE_ASSERTS
|
||||
// Avoids a MSVC ICE.
|
||||
ASSERT(std::all_of(masks.begin(), masks.end(), [](auto m) { return m != 0; }));
|
||||
#endif
|
||||
|
||||
return std::make_tuple(masks, shifts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user