From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36110 invoked by alias); 15 Nov 2017 20:52:00 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 36043 invoked by uid 89); 15 Nov 2017 20:52:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-20.7 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_06_12,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_INFOUSMEBIZ,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=H*m:info, H*F:D*info X-Spam-User: qpsmtpd, 2 recipients X-HELO: void-ptr.info Received: from pppoe.185.44.68.223.lanport.ru (HELO void-ptr.info) (185.44.68.223) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Nov 2017 20:51:58 +0000 Received: from ptr by void-ptr.info with local (Exim 4.72) (envelope-from ) id 1eF4f5-0005NP-DN; Wed, 15 Nov 2017 23:51:55 +0300 Message-Id: In-Reply-To: <04e468027f8bad7858583db836073af1d7c524f1.1510778853.git.ptr@void-ptr.info> References: <04e468027f8bad7858583db836073af1d7c524f1.1510778853.git.ptr@void-ptr.info> From: Petr Ovtchenkov Date: Wed, 15 Nov 2017 20:52:00 -0000 Subject: [PATCH 4/4] libstdc++: immutable _M_sbuf in istreambuf_iterator To: libstdc++@gcc.gnu.org Cc: gcc-patches@gcc.gnu.org X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg01255.txt.bz2 No needs to have mutable _M_sbuf in istreambuf_iterator more. --- libstdc++-v3/include/bits/streambuf_iterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/bits/streambuf_iterator.h b/libstdc++-v3/include/bits/streambuf_iterator.h index 203da9d..e2b6707 100644 --- a/libstdc++-v3/include/bits/streambuf_iterator.h +++ b/libstdc++-v3/include/bits/streambuf_iterator.h @@ -94,7 +94,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // the "end of stream" iterator value. // NB: This implementation assumes the "end of stream" value // is EOF, or -1. - mutable streambuf_type* _M_sbuf; + streambuf_type* _M_sbuf; public: class proxy -- 2.10.1