fix(eoExceptions): do not return a ref from a temp
This commit is contained in:
parent
51be7e324b
commit
8dd4f529f2
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
const char* what() const throw()
|
||||
{
|
||||
return message().c_str();
|
||||
return _msg.c_str();
|
||||
}
|
||||
|
||||
~eoException() throw() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue