mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-29 23:05:28 -04:00
cppcheck reported that the std::copy() call used iterators from different containers when restoring ADSB demod table column sizes. The copy operation used settings.m_columnSizes as the source start iterator but settings.m_columnIndexes as the source end iterator. This was likely a copy/paste error and resulted in an invalid iterator range. Use settings.m_columnSizes for both source iterators so column size settings are restored correctly. Signed-off-by: Robin Getz <rgetz503@gmail.com>