mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Merge branch 'master' of github.com:fmtlib/fmt
This commit is contained in:
commit
703960aa54
@ -35,7 +35,7 @@ class FormatBuf : public std::basic_streambuf<Char> {
|
|||||||
this->setp(start_, start_ + buffer_.capacity());
|
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())) {
|
if (!traits_type::eq_int_type(ch, traits_type::eof())) {
|
||||||
size_t buf_size = size();
|
size_t buf_size = size();
|
||||||
buffer_.resize(buf_size);
|
buffer_.resize(buf_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user