forked from OctaForge/libostd
fix escaping for default range print
This commit is contained in:
parent
ccb0564bfc
commit
98fb0e3e2e
|
@ -683,7 +683,8 @@ private:
|
||||||
}
|
}
|
||||||
writer.put('{');
|
writer.put('{');
|
||||||
write_range_val(writer, [&writer, escape](auto const &rval) {
|
write_range_val(writer, [&writer, escape](auto const &rval) {
|
||||||
format_spec{'s', escape}.write_arg(writer, 0, rval);
|
format_spec sp{'s', escape ? FMT_FLAG_AT : 0};
|
||||||
|
sp.write_arg(writer, 0, rval);
|
||||||
}, ", ", val);
|
}, ", ", val);
|
||||||
writer.put('}');
|
writer.put('}');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue