diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/hashtable.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d3c704a..b2f66e0 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 9e721aa..b00319a 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(); } } |