mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-29 06:18:31 +02:00
Task #3953 - Inherit XArch and XBase from std::exception
This commit is contained in:
parent
78f30db6e9
commit
abe108195d
9 changed files with 21 additions and 30 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue