diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index ab9e3a4a..88d31455 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -189,11 +189,10 @@ group_access* dummy_group_accesses() /* TODO: describe */ - static constexpr group_access::dummy_group_access_type + static group_access::dummy_group_access_type storage[Size]={typename group_access::dummy_group_access_type(),}; - return reinterpret_cast( - const_cast(storage)); + return reinterpret_cast(storage); } template