Finish text::format

This commit is contained in:
Victor Zverovich committed 2020-06-14 11:04:41 -07:00
1 parent e900d735bb
commit ab2f8484e0
2 files changed
+5 -2

No files matched your search

+1 -2
View File
@@ -378,8 +378,7 @@ template <typename Char> struct text {
template <typename OutputIt, typename... Args>
OutputIt format(OutputIt out, const Args&...) const {
// TODO: reserve
return copy_str<Char>(data.begin(), data.end(), out);
return write<Char>(out, data);
}
};