From patchwork Mon Apr 18 16:37:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 611815 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qpYjt2K6nz9t49 for ; Tue, 19 Apr 2016 02:38:24 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=gX1miErl; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=Mzk3aMH3F1jMlGXpvbJGASAEivycFMp8mtNyZH/Jk7LxAkTBY4UzK eucaNmHm+2+A8UyoBpdjOayXswQf8i6kdEU6dLcpF+NDO8t/XaZMDOse4VLY/oHU a1/iwDwo32k0YXECIcaUo+j6dQqN0t+OInxb9DnBuo8M9HIw3oe210= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=JsdZBwD+p56Q6hPoh6SE/Vv+q70=; b=gX1miErlWS8BUF0/Jx1e IsrhFaqKNZU28fzSEw+tVwKR3zT6cINOq7Y1Ory+1j296yQja2IAaRgKqlRUv6Ne M4IGex76QIfWnX5Rjf8rf1w1RTDS/O+FX4buUDk9nA/dwbcYaKE/HiM+gTqWwsxi Oik1d3yTaVPErGikfv/nW+s= Received: (qmail 7015 invoked by alias); 18 Apr 2016 16:38:04 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 6989 invoked by uid 89); 18 Apr 2016 16:38:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=10527, 1052, 7, (unknown), 9277 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 18 Apr 2016 16:37:57 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0A33EC05681D; Mon, 18 Apr 2016 16:37:56 +0000 (UTC) Received: from localhost (ovpn-116-41.ams2.redhat.com [10.36.116.41]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3IGbtBs003866; Mon, 18 Apr 2016 12:37:55 -0400 Date: Mon, 18 Apr 2016 17:37:54 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [patch] Remove unused typedefs in std::bind types Message-ID: <20160418163754.GH2839@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.5.24 (2015-08-30) Tested x86_64-linux, committed to trunk. commit ea5d727f12fcbbb5a8b7b0789f88968649937176 Author: Jonathan Wakely Date: Mon Mar 14 09:40:41 2016 +0000 Remove unused typedefs in std::bind types * include/std/function (_Bind, _Bind_result): Remove unused typedefs. diff --git a/libstdc++-v3/include/std/functional b/libstdc++-v3/include/std/functional index 9799410..1edd886 100644 --- a/libstdc++-v3/include/std/functional +++ b/libstdc++-v3/include/std/functional @@ -927,7 +927,6 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type) class _Bind<_Functor(_Bound_args...)> : public _Weak_result_type<_Functor> { - typedef _Bind __self_type; typedef typename _Build_index_tuple::__type _Bound_indexes; @@ -1052,7 +1051,6 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type) template class _Bind_result<_Result, _Functor(_Bound_args...)> { - typedef _Bind_result __self_type; typedef typename _Build_index_tuple::__type _Bound_indexes;