forked from boostorg/unordered
reintroduced 6110a0827c
with a slightly different syntax
(prior caused ICEs on GCC11)
This commit is contained in:
@ -1022,7 +1022,7 @@ private:
|
|||||||
|
|
||||||
static group_type* dummy_groups()noexcept
|
static group_type* dummy_groups()noexcept
|
||||||
{
|
{
|
||||||
static constexpr group_type::dummy_group_type storage[size_policy::min_size()];
|
static constexpr group_type::dummy_group_type storage[size_policy::min_size()]={};
|
||||||
return reinterpret_cast<group_type*>(
|
return reinterpret_cast<group_type*>(
|
||||||
const_cast<group_type::dummy_group_type*>(storage));
|
const_cast<group_type::dummy_group_type*>(storage));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user