Test writing to ostream

This commit is contained in:
vitaut committed 2016-03-08 06:47:53 -08:00
1 parent 6883d6e724
commit 0867c1b447
2 files changed
+56 -1

No files matched your search

+1 -1
View File
@@ -364,7 +364,7 @@ class CharConverter : public fmt::internal::ArgVisitor<CharConverter, void> {
};
// Write the content of w to os.
void write(std::ostream &os, fmt::MemoryWriter &w) {
void write(std::ostream &os, fmt::Writer &w) {
const char *data = w.data();
typedef internal::MakeUnsigned<std::streamsize>::Type UnsignedStreamSize;
UnsignedStreamSize size = w.size();