Simplify ostream

This commit is contained in:
Victor Zverovich committed 2020-08-04 20:11:43 -07:00
1 parent 5413713c95
commit ea76933802
2 files changed
+10 -15

No files matched your search

+1 -1
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