LoopStatus class default construction broken
This code in YARR is defect https://gitlab.cern.ch/YARR/YARR/-/blob/devel/src/libYarr/include/LoopStatus.h#L41
LoopStatus()=default;
...
unsigned get(unsigned i) const { return statVec[i]; }
There's some test code using the default ctor LoopStatus()
When compiling optimized this works for get(i = 0)
I assume the default ctor should be deleted as well. The class interface as is
would require to check the size before a call to get()
size_t styleSize() const { return styleVec.size(); }
is never used.