mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-28 13:04:17 -04:00
1772ff5ecb
Replace the runtime-sized temporary array in the int8_t specialization of MinSumAlgorithm::finalp() with std::vector. The array size is determined by the runtime value of cnt, requiring a compiler VLA extension. Using std::vector preserves the existing behavior while removing the dependency on non-standard language extensions. This eliminates remaining -Wvla warnings (for me) reported from ldpctool/algorithms.h Part of #2830 Signed-off-by: Robin Getz <rgetz503@gmail.com>