clang-tidy

This commit is contained in:
froejdh_e
2025-12-16 14:26:14 +01:00
parent 497b3ed00e
commit ec546bf4fb
65 changed files with 910 additions and 910 deletions
@@ -788,9 +788,9 @@ typedef struct {
explicit sls_detector_module(slsDetectorDefs::detectorType type)
: sls_detector_module() {
detParameters parameters{type};
int nch = parameters.nChanX * parameters.nChanY;
int nc = parameters.nChipX * parameters.nChipY;
const detParameters parameters{type}; //used to initialize
const int nch = parameters.nChanX * parameters.nChanY;
const int nc = parameters.nChipX * parameters.nChipY;
ndac = parameters.nDacs;
nchip = nc;
nchan = nch * nc;