Test writing to ostream
This commit is contained in:
1 parent
6883d6e724
commit
0867c1b447
2 files changed
+56
-1
No files matched your search
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user