Message ID | 20150625182337.GO2856@redhat.com |
---|---|
State | New |
Headers | show |
commit f02e0e6dfd0ffbef53252aa0b739a9b1ba7391ff Author: Jonathan Wakely <jwakely@redhat.com> Date: Thu Jun 25 14:51:19 2015 +0100 * include/bits/locale_conv.h (__do_str_codecvt): Set __count. diff --git a/libstdc++-v3/include/bits/locale_conv.h b/libstdc++-v3/include/bits/locale_conv.h index fd99499..146f78b 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; }