Added missing FMT_OVERRIDE specifier to FormatBuf::overflow (#473)

This commit is contained in:
Alexey Gorishny 2017-02-22 22:55:15 +03:00 committed by Jonathan Müller
parent ad6d78f2a8
commit 20089c23ca

View File

@ -35,7 +35,7 @@ class FormatBuf : public std::basic_streambuf<Char> {
this->setp(start_, start_ + buffer_.capacity());
}
int_type overflow(int_type ch = traits_type::eof()) {
int_type overflow(int_type ch = traits_type::eof()) FMT_OVERRIDE {
if (!traits_type::eq_int_type(ch, traits_type::eof())) {
size_t buf_size = size();
buffer_.resize(buf_size);