Browse Source
Explicitly delete the copy constructors and copy assignment operators for s2_frame_receiver and s2_fecdec_soft. These processing classes manage state and resources that should not be duplicated through implicit shallow copies. Prohibiting copying and assignment prevents accidental duplication of internal state and potentially unsafe resource ownership. cppcheck identified the missing copy constructors and assignment operators with its noCopyConstructor and noOperatorEq warnings. Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 6 additions and 0 deletions
Loading…
Reference in new issue