mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-28 21:14:15 -04:00
ef54a1ef6c
Replace the runtime-sized temporary array in MinSumCAlgorithm::finalp() with std::vector. The temporary array size depends on 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 ~6 of remaining -Wvla warnings (for me) reported from ldpctool/algorithms.h Part of #2830 Signed-off-by: Robin Getz <rgetz503@gmail.com>