Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a copy-and-paste error when setting the unexpected exception handler

(actually set the terminate handler by mistake).
  • Loading branch information...
commit dab8a0012017b46aeab061c8991632612b395aae 1 parent c4b68a5
David Chisnall authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/exception.cc
View
2  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.
Please sign in to comment.
Something went wrong with that request. Please try again.