mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-07 07:50:32 +00:00
Replace usage of BOOST_FOREACH macro by a C++ range for
This commit is contained in:
parent
89efa10236
commit
dd60bcf986
@ -18,7 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rtl_tcp_dongle_info.h"
|
#include "rtl_tcp_dongle_info.h"
|
||||||
#include <boost/foreach.hpp>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
@ -115,7 +114,7 @@ double Rtl_Tcp_Dongle_Info::clip_gain(int gain) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
double last_stop = gains.front();
|
double last_stop = gains.front();
|
||||||
BOOST_FOREACH (double g, gains)
|
for (auto g : gains)
|
||||||
{
|
{
|
||||||
g /= 10.0;
|
g /= 10.0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user