Make buffer size configurable

This commit is contained in:
Victor Zverovich committed 2020-08-01 10:53:58 -07:00
1 parent f0b84da5ff
commit 7c4c5c79d2
3 files changed
+74 -12

No files matched your search

+1 -1
View File
@@ -315,7 +315,7 @@ long getpagesize() {
}
void ostream::grow(size_t) {
if (this->size() == BUFSIZ) flush();
if (this->size() == buffer_size_) flush();
}
#endif // FMT_USE_FCNTL
FMT_END_NAMESPACE