Task #3953 - Inherit XArch and XBase from std::exception

This commit is contained in:
Nick Bolton 2014-03-14 18:30:21 +00:00
parent 78f30db6e9
commit abe108195d
9 changed files with 21 additions and 30 deletions

View file

@ -22,7 +22,7 @@
// XArch
//
std::string
const char*
XArch::what() const throw()
{
try {
@ -33,5 +33,5 @@ XArch::what() const throw()
catch (...) {
// ignore
}
return m_what;
return m_what.c_str();
}