mirror of
https://github.com/AdaCore/fswatch.git
synced 2026-02-12 13:09:11 -08:00
Rogue pointer was returned in exception what()
This commit is contained in:
@@ -29,7 +29,7 @@ namespace fsw
|
||||
|
||||
const char *libfsw_exception::what() const noexcept
|
||||
{
|
||||
return (string(_("Error: ")) + this->cause).c_str();
|
||||
return this->cause.c_str();
|
||||
}
|
||||
|
||||
int libfsw_exception::error_code() const noexcept
|
||||
|
||||
Reference in New Issue
Block a user