Skip to content

Commit 3e972b3

Browse files
committed
Use std::abort
1 parent b4b77c9 commit 3e972b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxxabi/src/cxa_default_handlers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// new_handler.
1010
//===----------------------------------------------------------------------===//
1111

12-
#include <cstdlib>
12+
#include <cstdlib> // std::abort
1313
#include <exception>
1414
#include <new>
1515
#include "abort_message.h"
@@ -95,7 +95,7 @@ static void demangling_unexpected_handler()
9595
static constexpr std::terminate_handler default_terminate_handler = demangling_terminate_handler;
9696
static constexpr std::terminate_handler default_unexpected_handler = demangling_unexpected_handler;
9797
#else // !LIBCXXABI_SILENT_TERMINATE
98-
static constexpr std::terminate_handler default_terminate_handler = ::abort;
98+
static constexpr std::terminate_handler default_terminate_handler = std::abort;
9999
static constexpr std::terminate_handler default_unexpected_handler = std::terminate;
100100
#endif // !LIBCXXABI_SILENT_TERMINATE
101101

0 commit comments

Comments
 (0)