Merge branch 'master' of github.com:fmtlib/fmt

This commit is contained in:
Victor Zverovich 2017-02-24 07:06:12 -08:00
commit 703960aa54

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);