* include/bits/locale_conv.h (__do_str_codecvt): Set __count.

From-SVN: r224985
This commit is contained in:
Jonathan Wakely 2015-06-25 19:23:41 +01:00 committed by Jonathan Wakely
parent 994c5d8542
commit 67b0404e12
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-06-25 Jonathan Wakely <jwakely@redhat.com>
* include/bits/locale_conv.h (__do_str_codecvt): Set __count.
2015-06-24 François Dumont <fdumont@gcc.gnu.org>
* include/bits/basic_string.h (basic_string<>::front()): Add !empty

View File

@ -61,6 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
if (__first == __last)
{
__outstr.clear();
__count = 0;
return true;
}