[gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] libstdc++: Add missing std:: qualification of a forward call

Tamar Christina tnfchris@gcc.gnu.org
Fri Jul 17 12:49:51 GMT 2020


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();
 	}
     }


More information about the Libstdc++-cvs mailing list