1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Warnings: Ensure death functions are all marked noreturn

This commit is contained in:
JohnHolmesII 2020-12-28 17:05:35 -08:00 committed by Ivan
parent 18c120ab9f
commit 76b1acf99d

View File

@ -2389,7 +2389,7 @@ u64 thread_base::get_cycles()
}
}
void thread_ctrl::emergency_exit(std::string_view reason)
[[noreturn]] void thread_ctrl::emergency_exit(std::string_view reason)
{
sig_log.fatal("Thread terminated due to fatal error: %s", reason);