Fix a copy-and-paste error in libcxxrt.
This commit is contained in:
parent
2ba0f36139
commit
fe9b3289e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246462
@ -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…
Reference in New Issue
Block a user