diff options
author | David Chisnall <dchisnall@pathscale.com> | 2013-02-07 11:08:58 +0000 |
---|---|---|
committer | David Chisnall <dchisnall@pathscale.com> | 2013-02-07 11:08:58 +0000 |
commit | dab8a0012017b46aeab061c8991632612b395aae (patch) | |
tree | 4b3fa85144f92399cd834d87fee3a5d9905caad8 /src/exception.cc | |
parent | c4b68a5c1836b9027fe8784fec25b7a2e6e6aa60 (diff) | |
download | libcxxrt-master.tar.gz libcxxrt-master.tar.bz2 libcxxrt-master.tar.xz |
(actually set the terminate handler by mistake).
Diffstat (limited to 'src/exception.cc')
-rw-r--r-- | src/exception.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.cc b/src/exception.cc index 4ccf38e..7f0d3e8 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -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. |