chore: arch: Derive XThread from std::exception
This is needed because by convention exceptions must derive from at
least std::exception.
ported from: 22aec16dc7
ported-by sithlord48
This commit is contained in:
committed by
Nick Bolton
parent
51db919d8f
commit
cab1eb9cee
@ -19,7 +19,7 @@ Exceptions derived from this class are used by the multithreading
|
||||
library to perform stack unwinding when a thread terminates. These
|
||||
exceptions must always be rethrown by clients when caught.
|
||||
*/
|
||||
class XThread
|
||||
class XThread : public std::exception
|
||||
{
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user