public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/ranger] libstdc++: Add missing std:: qualification of a forward call
@ 2020-06-17 18:50 Aldy Hernandez
  0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2020-06-17 18:50 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1635 bytes --]

https://gcc.gnu.org/g:b32a3f324367ca470aaec1866abe7edf5616bb7c

commit b32a3f324367ca470aaec1866abe7edf5616bb7c
Author: François Dumont <fdumont@gcc.gnu.org>
Date:   Tue Feb 11 19:09:48 2020 +0100

    libstdc++: Add missing std:: qualification of a forward call
    
            * include/bits/hashtable.h
            (_Hashtable<>(_Hashtable&&, std::allocator_type&)): Add
            missing std namespace qualification to forward call.

Diff:
---
 libstdc++-v3/ChangeLog                | 6 ++++++
 libstdc++-v3/include/bits/hashtable.h | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d3c704ad0e8..b2f66e037c4 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2020-02-12  François Dumont  <fdumont@gcc.gnu.org>
+
+	* include/bits/hashtable.h
+	(_Hashtable<>(_Hashtable&&, std::allocator_type&)): Add
+	missing std namespace qualification to forward call.
+
 2020-02-09  Jonathan Wakely  <jwakely@redhat.com>
 
 	* testsuite/20_util/function_objects/range.cmp/equal_to.cc: Fix
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_type>::value,
 			const _Hashtable&, _Hashtable&&>::type;
-	  _M_assign(forward<_Fwd_Ht>(__ht), __alloc_gen);
+	  _M_assign(std::forward<_Fwd_Ht>(__ht), __alloc_gen);
 	  __ht.clear();
 	}
     }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-17 18:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 18:50 [gcc/devel/ranger] libstdc++: Add missing std:: qualification of a forward call Aldy Hernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).