1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-27 12:34:18 -04:00
Files
sdrangel/plugins
Robin Getz a10746a22a demoddatv: Replace OffsetMinSumAlgorithm VLAs with std::vector
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>
2026-07-25 16:39:31 -04:00
..
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00