From patchwork Tue Feb 11 18:15:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Patchwork-Id: 1236418 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-519357-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=FWY0mnsH; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=sRII9Ih2; dkim-atps=neutral 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 48H9vS03CZz9sRm for ; Wed, 12 Feb 2020 05:16:18 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=NzdFGF6Mg8XQJHFAJ9dItPBN8wttvP/3D2z0NDZP8Zka+sIHes 8slxbeOqy3dK6pfa3uom7m9ye1Xpr6nd/GsR/D9fLwNJdpwPsxfWnpMK8DHuJLme Qddr9RBWEjdCTUfDbgzCb27QN3+uGmR2RVRjSKQzxi+7+rP5K/W86PdxQ= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=t0FRfIPVzohI2MkTFu7fDoSbUh8=; b=FWY0mnsH7GsqIV2+vTfm FdeNs2HSq/TkbZqIYYGAnFmhw6NzyjUoV08ESJeCvW8qpdFb+XSbVHLP8P7PqYsJ m9ozK8evwzyNY2e0bpnxr7Bihh30Jw+LIngVPeCHq2o7pPbMVM2lX2bQO2v1SnWm on9euubgleUt5f42DySgQE4= Received: (qmail 34394 invoked by alias); 11 Feb 2020 18:16:06 -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 34308 invoked by uid 89); 11 Feb 2020 18:16:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.8 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=allocator_type, HX-Languages-Length:831 X-HELO: mail-wm1-f41.google.com Received: from mail-wm1-f41.google.com (HELO mail-wm1-f41.google.com) (209.85.128.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Feb 2020 18:16:04 +0000 Received: by mail-wm1-f41.google.com with SMTP id b17so4821940wmb.0; Tue, 11 Feb 2020 10:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=M3LiDHcHvac0ZtUJoxQv2TB9D3OU14SnqrEf6Kszv2I=; b=sRII9Ih2y6NTOV1+RSJiGWGRjoiOAKh+zXaWcV6igdCt4APL/W87qg7Zk7w5zzdvbg u2bjSA5p8Mpra/LlRjJ2rQoq3HqlCPVqA3DfBPTmmoIo4w4Fckk+dvBZmC6uob+F3CqU 5TuDAcfkzcReXBV5xnB4c0GJu223LmxyaHnscY/a0q72sKduKpYxIv+vZeqA6b6+Ucz/ FnRsZW9Z8v7iynYfFnvV6qhwjx3pvEdAsTc/zWN9oZo/x719g6RaEqxZxcq+730XbfW+ ppj3R5hpnQxTUf0s0842L9m8/ieNdLSA/6mffAF9duPzYUf/oTfj8KdwjIKWK+KVe/M8 KbhQ== Received: from [10.11.4.148] ([109.190.253.11]) by smtp.googlemail.com with ESMTPSA id v5sm6181270wrv.86.2020.02.11.10.15.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Feb 2020 10:15:59 -0800 (PST) To: "libstdc++@gcc.gnu.org" , gcc-patches From: =?utf-8?q?Fran=C3=A7ois_Dumont?= Subject: [PATCH] Hashtable: Add missing std qualification on a forward call Message-ID: Date: Tue, 11 Feb 2020 19:15:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 I just notice that in a recent patch I forgot a std:: on a call to forward. * include/bits/hashtable.h (_Hashtable<>(_Hashtable&&, std::allocator_type&)):     Add missing std namespace qualification to forward call. Ok to commit ? François diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++-v3/include/bits/hashtable.h index 9e721aad8cc..b00319a668b 100644 --- a/libstdc++-v3/include/bits/hashtable.h +++ b/libstdc++-v3/include/bits/hashtable.h @@ -1371,7 +1371,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using _Fwd_Ht = typename conditional<__move_if_noexcept_cond::value, const _Hashtable&, _Hashtable&&>::type; - _M_assign(forward<_Fwd_Ht>(__ht), __alloc_gen); + _M_assign(std::forward<_Fwd_Ht>(__ht), __alloc_gen); __ht.clear(); } }