From: redi Date: Thu, 25 Jun 2015 18:23:41 +0000 (+0000) Subject: * include/bits/locale_conv.h (__do_str_codecvt): Set __count. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23d1032f15175e34834efb86c9c87b4241424a96;p=thirdparty%2Fgcc.git * include/bits/locale_conv.h (__do_str_codecvt): Set __count. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224985 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 47777ac7c498..7b7e2b9c1f55 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2015-06-25 Jonathan Wakely + + * include/bits/locale_conv.h (__do_str_codecvt): Set __count. + 2015-06-24 François Dumont * include/bits/basic_string.h (basic_string<>::front()): Add !empty diff --git a/libstdc++-v3/include/bits/locale_conv.h b/libstdc++-v3/include/bits/locale_conv.h index fd99499b8f6b..146f78b38d07 100644 --- a/libstdc++-v3/include/bits/locale_conv.h +++ b/libstdc++-v3/include/bits/locale_conv.h @@ -61,6 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION if (__first == __last) { __outstr.clear(); + __count = 0; return true; }