diff options
Diffstat (limited to 'host/examples/twinrx_freq_hopping.cpp')
-rw-r--r-- | host/examples/twinrx_freq_hopping.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/twinrx_freq_hopping.cpp b/host/examples/twinrx_freq_hopping.cpp index d32a3e660..0dca1ee83 100644 --- a/host/examples/twinrx_freq_hopping.cpp +++ b/host/examples/twinrx_freq_hopping.cpp @@ -91,7 +91,7 @@ static void write_fft_to_file(const std::string& fft_path) { std::cout << "Calculating FFTs (this may take a while)... " << std::flush; std::ofstream ofile(fft_path.c_str(), std::ios::binary); - BOOST_FOREACH (const recv_buff_t& buff, buffs) { + for (const recv_buff_t& buff : buffs) { std::vector<float> fft = ascii_art_dft::log_pwr_dft(&buff.front(), buff.size()); ofile.write((char*)&fft[0], (sizeof(float) * fft.size())); } |