From 67b0404e1241f698f6bc5f5fc0b347565a35e599 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 25 Jun 2015 19:23:41 +0100 Subject: [PATCH] * include/bits/locale_conv.h (__do_str_codecvt): Set __count. From-SVN: r224985 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/bits/locale_conv.h | 1 + 2 files changed, 5 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 47777ac7c49..7b7e2b9c1f5 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 fd99499b8f6..146f78b38d0 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; } -- 2.30.2