mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-12 21:03:53 +01:00
removed depricated check, handle self assignment
This commit is contained in:
1 parent
497b3ed00e
commit
cfaaf5a973
2 files changed
+2
-1
No files matched your search
@@ -29,7 +29,6 @@ Checks: '*,
|
||||
-llvmlibc-*'
|
||||
|
||||
HeaderFilterRegex: \.h
|
||||
AnalyzeTemporaryDtors: false
|
||||
FormatStyle: none
|
||||
CheckOptions:
|
||||
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
|
||||
|
||||
@@ -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