diff --git a/src/algorithms/signal_source/libs/rtl_tcp_dongle_info.cc b/src/algorithms/signal_source/libs/rtl_tcp_dongle_info.cc index 8bacdee8a..0dfcadb2a 100644 --- a/src/algorithms/signal_source/libs/rtl_tcp_dongle_info.cc +++ b/src/algorithms/signal_source/libs/rtl_tcp_dongle_info.cc @@ -18,7 +18,6 @@ */ #include "rtl_tcp_dongle_info.h" -#include #include #include @@ -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;