removed depricated check, handle self assignment

This commit is contained in:
froejdh_e
2026-08-02 21:37:14 +02:00
committed by mazzol_a
parent dd1d418a02
commit 3699a3238f
2 changed files with 2 additions and 1 deletions
@@ -804,6 +804,8 @@ typedef struct {
}
sls_detector_module &operator=(const sls_detector_module &other) {
if(this == &other)
return *this;
delete[] dacs;
delete[] chanregs;
serialnumber = other.serialnumber;