|
@@ -558,7 +558,7 @@ basic_stringbuf<_CharT, _Traits, _Allocator>::overflow(int_type __c)
|
|
char_type* __p = const_cast<char_type*>(__str_.data());
|
|
char_type* __p = const_cast<char_type*>(__str_.data());
|
|
this->setg(__p, __p + __ninp, __hm_);
|
|
this->setg(__p, __p + __ninp, __hm_);
|
|
}
|
|
}
|
|
- return this->sputc(__c);
|
|
|
|
|
|
+ return this->sputc(traits_type::to_char_type(__c));
|
|
}
|
|
}
|
|
return traits_type::not_eof(__c);
|
|
return traits_type::not_eof(__c);
|
|
}
|
|
}
|