Make buffer size configurable

This commit is contained in:
Victor Zverovich
2020-08-01 10:25:39 -07:00
parent f0b84da5ff
commit 7c4c5c79d2
3 changed files with 74 additions and 12 deletions

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