From 72e2e4e0f7291e767f28083443b2d11f3a25aa77 Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 23 Oct 2013 18:08:46 +0000 Subject: [PATCH] * include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203984 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/bits/hashtable.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base. + 2013-10-23 Paolo Carlini 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"); -- 2.7.4