Merge pull request #1069 from lioncash/unex

Syscalls/Thread: Replace std::unexpected with std::terminate
This commit is contained in:
Ryan Houdek authored and GitHub committed 2021-06-09 20:11:58 -07:00
commit b9e53b6c46
1 file changed
+1 -1
@@ -376,7 +376,7 @@ namespace FEX::HLE {
Thread->StatusCode = status;
FEXCore::Context::Stop(Thread->CTX);
// This will never be reached
std::unexpected();
std::terminate();
});
REGISTER_SYSCALL_IMPL(prlimit64, [](FEXCore::Core::CpuStateFrame *Frame, pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit) -> uint64_t {