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