fix escaping for default range print

master
Daniel Kolesa 2017-02-26 00:32:35 +01:00
parent ccb0564bfc
commit 98fb0e3e2e
1 changed files with 2 additions and 1 deletions

View File

@ -683,7 +683,8 @@ private:
}
writer.put('{');
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);
writer.put('}');
return;