forked from boostorg/system
Update system_error::what to use error_code::what
This commit is contained in:
1 parent
01676ae42f
commit
bb775c071a
6 files changed
+60
-28
No files matched your search
@@ -35,17 +35,7 @@ private:
|
||||
r += ": ";
|
||||
}
|
||||
|
||||
r += ec.message();
|
||||
|
||||
if( ec.has_location() )
|
||||
{
|
||||
r += " [";
|
||||
r += ec.to_string();
|
||||
r += " at ";
|
||||
r += ec.location().to_string();
|
||||
r += "]";
|
||||
}
|
||||
|
||||
r += ec.what();
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user