aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chisnall <dchisnall@pathscale.com>2014-05-09 01:35:32 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-09 01:35:32 +0000
commitaa67cf36a9eb1c053d40e65254f1b78169c9f496 (patch)
tree4b3fa85144f92399cd834d87fee3a5d9905caad8
parent35e16ceddc41254fa71c7e9ebca0d11e14dd7994 (diff)
parentdab8a0012017b46aeab061c8991632612b395aae (diff)
downloadlibcxxrt-aa67cf36a9eb1c053d40e65254f1b78169c9f496.tar.gz
am dab8a001: Fix a copy-and-paste error when setting the unexpected exception handler (actually set the terminate handler by mistake).
* commit 'dab8a0012017b46aeab061c8991632612b395aae': Fix a copy-and-paste error when setting the unexpected exception handler (actually set the terminate handler by mistake).
-rw-r--r--src/exception.cc2
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.