Closed vbaderks closed 1 year ago
Usage of const_cast was required as functor objects were used for encoding and decoding. By splitting this functors in 2 types, the const_casts are not needed anymore and CharLS becomes const correct.
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 13 Code Smells
0.0% Coverage 0.0% Duplication
Usage of const_cast was required as functor objects were used for encoding and decoding. By splitting this functors in 2 types, the const_casts are not needed anymore and CharLS becomes const correct.