mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 04:27:14 +02:00
Reformat what() message slightly
This commit is contained in:
@ -48,6 +48,8 @@ private:
|
|||||||
if( ec.has_location() )
|
if( ec.has_location() )
|
||||||
{
|
{
|
||||||
r += " [";
|
r += " [";
|
||||||
|
r += ec.to_string();
|
||||||
|
r += " at ";
|
||||||
|
|
||||||
boost::source_location loc = ec.location();
|
boost::source_location loc = ec.location();
|
||||||
|
|
||||||
@ -62,12 +64,9 @@ private:
|
|||||||
r += to_string( loc.column() );
|
r += to_string( loc.column() );
|
||||||
}
|
}
|
||||||
|
|
||||||
r += ": in function '";
|
r += " in function '";
|
||||||
r += loc.function_name();
|
r += loc.function_name();
|
||||||
r += "\': ";
|
r += "\']";
|
||||||
|
|
||||||
r += ec.to_string();
|
|
||||||
r += "]";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
Reference in New Issue
Block a user