mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
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 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*>(
|
||||
const_cast<group_type::dummy_group_type*>(storage));
|
||||
}
|
||||
|
Reference in New Issue
Block a user