Remove v-table anchor for detail::ostream_buffer

This commit is contained in:
Ihor Dutchak 2022-10-14 11:42:46 +03:00 committed by GitHub
parent ef4074802a
commit e75f9b8e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -382,7 +382,9 @@ struct ostream_params {
class ostream_buffer final : public detail::buffer<char> {
file file_;
FMT_API void grow(size_t) override;
void grow(size_t) override {
if (this->size() == this->capacity()) flush();
}
public:
ostream_buffer(cstring_view path, const detail::ostream_params& params)

View File

@ -366,10 +366,6 @@ long getpagesize() {
# endif
}
FMT_API void detail::ostream_buffer::grow(size_t) {
if (this->size() == this->capacity()) flush();
}
ostream::~ostream() = default;
#endif // FMT_USE_FCNTL
FMT_END_NAMESPACE