mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-21 03:23:34 +00:00
common: Change semantics of UNREACHABLE to unconditionally crash
This commit is contained in:
@@ -11,3 +11,8 @@ void assert_handle_failure() {
|
||||
Crash();
|
||||
}
|
||||
}
|
||||
|
||||
[[noreturn]] void unreachable_impl() {
|
||||
Crash();
|
||||
throw std::runtime_error("Unreachable code");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user