removed depricated check, handle self assignment

This commit is contained in:
froejdh_e
2025-12-16 16:35:53 +01:00
parent 497b3ed00e
commit cfaaf5a973
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,6 @@ Checks: '*,
-llvmlibc-*'
HeaderFilterRegex: \.h
AnalyzeTemporaryDtors: false
FormatStyle: none
CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }

View File

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