Fixed an alignment bug in value context display
This commit is contained in:
parent
cca6c204dd
commit
d396fa5145
1 changed files with 1 additions and 3 deletions
|
|
@ -925,9 +925,7 @@ inline std::ostream& operator<<(std::ostream& out, const value_t& val) {
|
|||
|
||||
inline string value_context(const value_t& val) {
|
||||
std::ostringstream buf;
|
||||
buf << std::right;
|
||||
buf.width(20);
|
||||
val.dump(buf);
|
||||
val.print(buf, 20, 20, true);
|
||||
return buf.str();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue