team-charls / charls

CharLS, a C++ JPEG-LS library implementation
BSD 3-Clause "New" or "Revised" License
180 stars 74 forks source link

Replace ASSERT(false) with unreachable() #298

Closed vbaderks closed 8 months ago

vbaderks commented 8 months ago

C++23 comes with std::unreachable(). Add a copy of this method to util.h and use it.

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud