1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 12:10:34 +00:00

Replace usage of BOOST_FOREACH macro by a C++ range for

This commit is contained in:
Carles Fernandez 2021-02-24 11:54:57 +01:00
parent 89efa10236
commit dd60bcf986
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -18,7 +18,6 @@
*/
#include "rtl_tcp_dongle_info.h"
#include <boost/foreach.hpp>
#include <string>
#include <vector>
@ -115,7 +114,7 @@ double Rtl_Tcp_Dongle_Info::clip_gain(int gain) const
}
double last_stop = gains.front();
BOOST_FOREACH (double g, gains)
for (auto g : gains)
{
g /= 10.0;