aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/functional.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcxx/src/functional.cpp')
-rw-r--r--lib/libcxx/src/functional.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcxx/src/functional.cpp b/lib/libcxx/src/functional.cpp
index cc5f43a9f2..d8cfaa7033 100644
--- a/lib/libcxx/src/functional.cpp
+++ b/lib/libcxx/src/functional.cpp
@@ -1,4 +1,4 @@
-//===----------------------- functional.cpp -------------------------------===//
+//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -14,7 +14,9 @@ _LIBCPP_BEGIN_NAMESPACE_STD
bad_function_call::~bad_function_call() noexcept
{
}
+#endif
+#ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_GOOD_WHAT_MESSAGE
const char*
bad_function_call::what() const noexcept
{