mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-27 12:34:18 -04:00
a10746a22a
Replace the runtime-sized temporary arrays in OffsetMinSumAlgorithm::finalp() with std::vector. The array sizes depend on the runtime value of cnt, requiring compiler support for variable length arrays. Using std::vector removes this non-standard extension while preserving the existing algorithm and memory layout. This eliminates ~24 of remaining -Wvla warnings (for me) reported from ldpctool/algorithms.h. Part of #2830 Signed-off-by: Robin Getz <rgetz503@gmail.com>