From: Jonathan Wakely Date: Thu, 25 Jun 2015 18:23:41 +0000 (+0100) Subject: * include/bits/locale_conv.h (__do_str_codecvt): Set __count. X-Git-Tag: basepoints/gcc-7~6079 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67b0404e1241f698f6bc5f5fc0b347565a35e599;p=thirdparty%2Fgcc.git * include/bits/locale_conv.h (__do_str_codecvt): Set __count. From-SVN: r224985 --- 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; }