diff options
author | Jason Merrill <jason@redhat.com> | 2013-10-23 14:08:46 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2013-10-23 14:08:46 -0400 |
commit | d4c579b56109284162f084bf031cd4eea1f1b036 (patch) | |
tree | 2b8ec7f521eb02d7a06c262cf62d677f2c67770b | |
parent | 24d2e5ebfd7f1b85c4a3c41ec2fcf90955b0f82b (diff) | |
download | gcc-d4c579b56109284162f084bf031cd4eea1f1b036.zip gcc-d4c579b56109284162f084bf031cd4eea1f1b036.tar.gz gcc-d4c579b56109284162f084bf031cd4eea1f1b036.tar.bz2 |
* include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
From-SVN: r203984
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/hashtable.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e5c07bc..4047068 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++-v3/include/bits/hashtable.h index 43c89b1..c639c55 100644 --- a/libstdc++-v3/include/bits/hashtable.h +++ b/libstdc++-v3/include/bits/hashtable.h @@ -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"); |