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) {
|
inline string value_context(const value_t& val) {
|
||||||
std::ostringstream buf;
|
std::ostringstream buf;
|
||||||
buf << std::right;
|
val.print(buf, 20, 20, true);
|
||||||
buf.width(20);
|
|
||||||
val.dump(buf);
|
|
||||||
return buf.str();
|
return buf.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue