diff options
author | anonymous <local@localhost> | 2011-01-04 09:33:07 +0600 |
---|---|---|
committer | anonymous <local@localhost> | 2011-01-04 09:33:07 +0600 |
commit | aca9afa6aa45f18979da31391902933f7da65e27 (patch) | |
tree | 6430db4d6c0743cd87c918f65ff4707f8c692170 | |
parent | 647d602a3563305209487c7ac0f1f2ad120db79a (diff) | |
download | libcxxrt-aca9afa6aa45f18979da31391902933f7da65e27.tar.gz libcxxrt-aca9afa6aa45f18979da31391902933f7da65e27.tar.bz2 libcxxrt-aca9afa6aa45f18979da31391902933f7da65e27.tar.xz |
fix for COMPILER-8891: std::exception::what() should not return NULL
-rw-r--r-- | src/stdexcept.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdexcept.cc b/src/stdexcept.cc index 3d4e086..e5ee812 100644 --- a/src/stdexcept.cc +++ b/src/stdexcept.cc @@ -18,7 +18,7 @@ exception::~exception() { } const char* exception::what() const throw() { - return 0; + return "std::exception"; } |