mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 15:00:53 +02:00
SignalDelegator: Migrate from std::unexpected() to std::terminate()
std::unexpected() was deprecated in C++11 and removed from the standard in C++17. The default unexpected_handler would call std::terminate anyway, and given we don't explicitly set a termination handler (as far as I can tell), this retains identical behavior.
This commit is contained in:
1 parent
e2a16c53b6
commit
e95076f321
1 file changed
+1
-1
@@ -170,7 +170,7 @@ namespace FEX::HLE {
|
||||
|
||||
// Doesn't return
|
||||
FEXCore::Context::StopThread(Thread->CTX, Thread);
|
||||
std::unexpected();
|
||||
std::terminate();
|
||||
}
|
||||
}
|
||||
else if (Handler.GuestAction.sigaction_handler.handler == SIG_IGN) {
|
||||
|
||||
Reference in new issue
Block a user