Commit 67b0404e by Jonathan Wakely Committed by Jonathan Wakely

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

From-SVN: r224985
parent 994c5d85
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> 2015-06-24 François Dumont <fdumont@gcc.gnu.org>
* include/bits/basic_string.h (basic_string<>::front()): Add !empty * include/bits/basic_string.h (basic_string<>::front()): Add !empty
......
...@@ -61,6 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -61,6 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
if (__first == __last) if (__first == __last)
{ {
__outstr.clear(); __outstr.clear();
__count = 0;
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment