From aca9afa6aa45f18979da31391902933f7da65e27 Mon Sep 17 00:00:00 2001 From: anonymous Date: Tue, 4 Jan 2011 09:33:07 +0600 Subject: fix for COMPILER-8891: std::exception::what() should not return NULL --- src/stdexcept.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- cgit v1.2.3