blob: 5c2646f01b2e5dc845b194ac38843158453c1b7a [file] [log] [blame]
Shoaib Meenaif012f262017-03-28 19:33:31 +00001//===----------------------- functional.cpp -------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "functional"
11
12_LIBCPP_BEGIN_NAMESPACE_STD
13
14#ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_KEY_FUNCTION
15bad_function_call::~bad_function_call() _NOEXCEPT
16{
17}
18
19const char*
20bad_function_call::what() const _NOEXCEPT
21{
22 return "std::bad_function_call";
23}
24#endif
25
26_LIBCPP_END_NAMESPACE_STD