From patchwork Wed Feb 20 21:23:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 222149 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]) by ozlabs.org (Postfix) with SMTP id C6ABA2C0040 for ; Thu, 21 Feb 2013 08:24:28 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1362000269; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=L+x89Jk UDqG67zhx7k87FhaZtOM=; b=D6hkGAX8G8F/4lAZe59895kWhrlw5daY84SiwDx yjvraIp4HnuhtKhC9IF29VegN33Lb+MISqukG40aSGaAdWAy5OIdfvTEdAh5VJlo rC6S7uYlJHXcGm7tclXpxMAhw+f0kinSsLk7vnwQSLIILW2031ydNk6boViWkzQB CMfc= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:X-Received:Received:Date:Message-ID:Subject:From:To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=TikI+0T9E7BHGma1JpTHdBsOhTdAJGvKjr5VAHmad5SnWPc+ycOcAxEyDyH44g Vw6o3S6jXdF/jjkITYcbUw8cdUsycsUSSpEBf3t+aA0P0VP1Zy16c3L5AdDyG9dN kUErqRKgHa+CS09VLxTlhhHca1MnNev+Hzrs0e9qMeP88=; Received: (qmail 11763 invoked by alias); 20 Feb 2013 21:23:59 -0000 Received: (qmail 11738 invoked by uid 22791); 20 Feb 2013 21:23:57 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-la0-f51.google.com (HELO mail-la0-f51.google.com) (209.85.215.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Feb 2013 21:23:47 +0000 Received: by mail-la0-f51.google.com with SMTP id fo13so8187644lab.10 for ; Wed, 20 Feb 2013 13:23:46 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.112.13.136 with SMTP id h8mr9212025lbc.4.1361395425925; Wed, 20 Feb 2013 13:23:45 -0800 (PST) Received: by 10.112.31.169 with HTTP; Wed, 20 Feb 2013 13:23:45 -0800 (PST) Date: Wed, 20 Feb 2013 21:23:45 +0000 Message-ID: Subject: [patch] Tweak two libstdc++ tests From: Jonathan Wakely To: "libstdc++" , gcc-patches 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 * testsuite/23_containers/unordered_set/55043.cc: Add missing namespace qualification. * testsuite/23_containers/unordered_multiset/55043.cc: Likewise. Tested x86_64-linux, committed to trunk. commit a6d9aa71b453ad2cf7b1cbd581fa04603728bad6 Author: Jonathan Wakely Date: Wed Feb 20 21:23:17 2013 +0000 * testsuite/23_containers/unordered_set/55043.cc: Add missing namespace qualification. * testsuite/23_containers/unordered_multiset/55043.cc: Likewise. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc index 445e4e4..9d71cff 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc @@ -33,7 +33,7 @@ struct equal { bool operator()(const MoveOnly&, const MoveOnly) const { return true; } }; struct hash { - size_t operator()(const MoveOnly&) const { return 0; } + std::size_t operator()(const MoveOnly&) const { return 0; } }; template diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc index e5ba065..1524890 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc @@ -33,7 +33,7 @@ struct equal { bool operator()(const MoveOnly&, const MoveOnly) const { return true; } }; struct hash { - size_t operator()(const MoveOnly&) const { return 0; } + std::size_t operator()(const MoveOnly&) const { return 0; } }; template