Simplify ostream

This commit is contained in:
Victor Zverovich
2020-08-04 19:39:44 -07:00
parent 5413713c95
commit ea76933802
2 changed files with 10 additions and 15 deletions

View File

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