Fix use of throw(...) spec with GCC in C++17

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290845 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-01-02 23:27:42 +00:00
parent 983f38443b
commit b45121da64

View File

@@ -162,7 +162,7 @@ _LIBCPP_FUNC_VIS new_handler get_new_handler() _NOEXCEPT;
} // std
#if !__has_feature(cxx_noexcept)
#if defined(_LIBCPP_CXX03_LANG)
#define _THROW_BAD_ALLOC throw(std::bad_alloc)
#else
#define _THROW_BAD_ALLOC