Fix a copy-and-paste error in libcxxrt.
This commit is contained in:
parent
f3d9ee22e4
commit
beb973e6fc
@ -1387,7 +1387,7 @@ namespace std
|
||||
{
|
||||
if (thread_local_handlers) { return pathscale::set_unexpected(f); }
|
||||
|
||||
return ATOMIC_SWAP(&terminateHandler, f);
|
||||
return ATOMIC_SWAP(&unexpectedHandler, f);
|
||||
}
|
||||
/**
|
||||
* Sets the function that is called to terminate the program.
|
||||
|
Loading…
x
Reference in New Issue
Block a user