diff --git a/common/main/d_bitset.h b/common/main/d_bitset.h index a91b74377..9f48e4ee6 100644 --- a/common/main/d_bitset.h +++ b/common/main/d_bitset.h @@ -14,9 +14,11 @@ namespace dcx { * See d_array.h for a full description. */ template -struct enumerated_bitset : std::bitset +class enumerated_bitset : std::bitset { using base_type = std::bitset; +public: + using base_type::base_type; constexpr typename base_type::reference operator[](E position) { return this->base_type::operator[](static_cast(position));