mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-12-01 18:37:47 +01:00
removed depricated check, handle self assignment
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user