Skip to content

Commit 76187da

Browse files
aalkinktf
authored andcommitted
DPL: make desscriptor size constexpr
1 parent 8871637 commit 76187da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

DataFormats/Headers/include/Headers/DataHeader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ struct Descriptor {
208208
static_assert(internal::NumberOfActiveBits<N>::value == 1,
209209
"Descriptor size is required to be a power of 2");
210210
using self_type = Descriptor<N>;
211-
static int const size = N;
212-
static int const bitcount = size * 8;
211+
static int constexpr size = N;
212+
static int constexpr bitcount = size * 8;
213213
static constexpr int arraySize = internal::ArraySize<uint64_t, size>();
214214
using ItgType = typename internal::TraitsIntType<N>::Type;
215215

0 commit comments

Comments
 (0)