summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-05 10:20:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-05 13:10:10 +0100
commiteffe6b3d84302afce3d5095e4f376e7e3bf669e0 (patch)
tree6ec7cb58ad83cd2c8433a130a5c442a206c19ec9 /bridges
parentcdb9e338f1e410fe968df3193369a1b516c50c35 (diff)
std::unexpected_handler is gone at least from recent libc++ in C++17 mode
Change-Id: Ibae0499f52c1e22ec9790e62cc84053dff2c2add Reviewed-on: https://gerrit.libreoffice.org/45855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_x86-64/share.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/share.hxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/share.hxx
index 6cc59bf2e0ed..3eb88cdc0242 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/share.hxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/share.hxx
@@ -80,7 +80,7 @@ struct __cxa_exception
// The C++ standard has entertaining rules wrt calling set_terminate
// and set_unexpected in the middle of the exception cleanup process.
- std::unexpected_handler unexpectedHandler;
+ void (*unexpectedHandler)(); // std::unexpected_handler dropped from C++17
std::terminate_handler terminateHandler;
// The caught exception stack threads through here.