mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-28 21:14:15 -04:00
463daf7eed
Replace the runtime-sized temporary arrays used by MinSumAlgorithm<SIMD<...>>::finalp() with std::vector. The array sizes are determined at runtime from the number of links, making them variable-length arrays that rely on compiler extensions. Using std::vector removes the dependency on VLA support while preserving the existing algorithm and behavior. 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>