There was an error while loading. Please reload this page.
1 parent 8871637 commit 76187daCopy full SHA for 76187da
1 file changed
DataFormats/Headers/include/Headers/DataHeader.h
@@ -208,8 +208,8 @@ struct Descriptor {
208
static_assert(internal::NumberOfActiveBits<N>::value == 1,
209
"Descriptor size is required to be a power of 2");
210
using self_type = Descriptor<N>;
211
- static int const size = N;
212
- static int const bitcount = size * 8;
+ static int constexpr size = N;
+ static int constexpr bitcount = size * 8;
213
static constexpr int arraySize = internal::ArraySize<uint64_t, size>();
214
using ItgType = typename internal::TraitsIntType<N>::Type;
215
0 commit comments