mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Use std::uncaught_exceptions()
Also remove wrong attributes
This commit is contained in:
parent
ea4a3b2476
commit
d750e955c3
3 changed files with 6 additions and 6 deletions
|
@ -1837,7 +1837,7 @@ void thread_ctrl::join()
|
|||
m_jcv.wait(lock);
|
||||
}
|
||||
|
||||
if (UNLIKELY(m_exception && !std::uncaught_exception()))
|
||||
if (UNLIKELY(m_exception && !std::uncaught_exceptions()))
|
||||
{
|
||||
std::rethrow_exception(m_exception);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue