From b72827587c708b2cc7d1ff40b1f6eab96e189dde Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 14 Mar 2012 14:33:36 +0000 Subject: New version of libc++ with some bug fixes. Approved by: dim (mentor) --- src/exception.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/exception.cpp') diff --git a/src/exception.cpp b/src/exception.cpp index 6b5e698..6a5803d 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -114,13 +114,17 @@ exception::~exception() _NOEXCEPT { } -bad_exception::~bad_exception() _NOEXCEPT +const char* exception::what() const _NOEXCEPT { + return "std::exception"; } -const char* exception::what() const _NOEXCEPT +#endif // _LIBCPPABI_VERSION +#endif //LIBCXXRT +#ifndef _LIBCPPABI_VERSION + +bad_exception::~bad_exception() _NOEXCEPT { - return "std::exception"; } const char* bad_exception::what() const _NOEXCEPT @@ -128,8 +132,8 @@ const char* bad_exception::what() const _NOEXCEPT return "std::bad_exception"; } -#endif // _LIBCPPABI_VERSION -#endif //LIBCXXRT +#endif + exception_ptr::~exception_ptr() _NOEXCEPT { -- cgit v1.1