[gcc/devel/c++-coroutines] libstdc++: Add missing std:: qualification of a forward call
Iain D Sandoe
iains@gcc.gnu.org
Wed Feb 12 23:02:00 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 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();
}
}
More information about the Libstdc++-cvs
mailing list