mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-26 04:25:51 +08:00
* include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
From-SVN: r203984
This commit is contained in:
parent
24d2e5ebfd
commit
d4c579b561
@ -1,3 +1,7 @@
|
||||
2013-10-23 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
|
||||
|
||||
2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR libstdc++/58850
|
||||
|
@ -284,7 +284,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
is_default_constructible<
|
||||
// We use _Hashtable_ebo_helper to access the protected
|
||||
// default constructor.
|
||||
__detail::_Hashtable_ebo_helper<0, __hash_code_base>>>::value,
|
||||
__detail::_Hashtable_ebo_helper<0, __hash_code_base, true>>>::value,
|
||||
"Cache the hash code or make functors involved in hash code"
|
||||
" and bucket index computation default constructible");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user