You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current clang-16 from main complains: "case value is not a constant
expression". Even if that error is probably relaxed before Clang 16
is released early next year, there is really no point in converting
an integer into an enum just to get a numeric value back.
This is (intentionally) a partial revert of commit ac36d87. An
alternative solution appears to be replacing EProperty (which refers
to the enum type in TVirtualCollectionProxy) with ::EProperty from
TDictionary.h. However, since the enum values are used as a bit mask
and fCase is defined as UInt_t anyhow, it makes more sense to compare
integer constants from the start.
Closesroot-project#11128
0 commit comments