From: François Dumont Date: Tue, 11 Feb 2020 18:09:48 +0000 (+0100) Subject: libstdc++: Add missing std:: qualification of a forward call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b32a3f324367ca470aaec1866abe7edf5616bb7c;p=gcc.git 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 --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 + + * include/bits/hashtable.h + (_Hashtable<>(_Hashtable&&, std::allocator_type&)): Add + missing std namespace qualification to forward call. + 2020-02-09 Jonathan Wakely * 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, const _Hashtable&, _Hashtable&&>::type; - _M_assign(forward<_Fwd_Ht>(__ht), __alloc_gen); + _M_assign(std::forward<_Fwd_Ht>(__ht), __alloc_gen); __ht.clear(); } }