mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-13 17:28:42 +01:00
removed depricated check, handle self assignment
This commit is contained in:
@@ -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