Skip to content

Commit 20089c2

Browse files
0x414cfoonathan
authored andcommitted
Added missing FMT_OVERRIDE specifier to FormatBuf::overflow (#473)
1 parent ad6d78f commit 20089c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmt/ostream.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class FormatBuf : public std::basic_streambuf<Char> {
3535
this->setp(start_, start_ + buffer_.capacity());
3636
}
3737

38-
int_type overflow(int_type ch = traits_type::eof()) {
38+
int_type overflow(int_type ch = traits_type::eof()) FMT_OVERRIDE {
3939
if (!traits_type::eq_int_type(ch, traits_type::eof())) {
4040
size_t buf_size = size();
4141
buffer_.resize(buf_size);

0 commit comments

Comments
 (0)