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:
parent
89efa10236
commit
dd60bcf986
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user