summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranonymous <local@localhost>2011-01-04 09:33:07 +0600
committeranonymous <local@localhost>2011-01-04 09:33:07 +0600
commitaca9afa6aa45f18979da31391902933f7da65e27 (patch)
tree6430db4d6c0743cd87c918f65ff4707f8c692170
parent647d602a3563305209487c7ac0f1f2ad120db79a (diff)
downloadlibcxxrt-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.cc2
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";
}