Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libromdata] WiiUPackage: Use std::array<uint8_t, 16> for iv.
Fixes a clang-tidy warning: src/libromdata/Console/WiiUPackage.cpp:171:3: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] 171 | uint8_t iv[16]; | ^ Also, use array::fill() instead of memset(), since array::fill() will generate 128-bit SIMD code with most modern compilers. (memset() probably would as well, if clearing the full 16 bytes instead of just 14...)
- Loading branch information