removed depricated check, handle self assignment

This commit is contained in:
froejdh_e authored and Alice committed 2026-08-02 21:37:14 +02:00
1 parent dd1d418a02
commit 3699a3238f
2 files changed
+2 -1

No files matched your search

@@ -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;