1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-06-29 08:32:54 +00:00

Fix clang-format and clang-tidy jobs

This commit is contained in:
Carles Fernandez 2020-06-27 11:52:59 +02:00
parent 54a4c213ec
commit a01dfa4052
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
5 changed files with 15 additions and 13 deletions

View File

@ -87,7 +87,9 @@ private:
boost::thread *d_pcap_thread; boost::thread *d_pcap_thread;
boost::mutex d_mutex; boost::mutex d_mutex;
struct sockaddr_in si_me{}; struct sockaddr_in si_me
{
};
std::string d_src_device; std::string d_src_device;
std::string d_origin_address; std::string d_origin_address;
pcap_t *descr; // ethernet pcap device descriptor pcap_t *descr; // ethernet pcap device descriptor

View File

@ -114,7 +114,7 @@ void GNSSFlowgraph::start()
void GNSSFlowgraph::stop() void GNSSFlowgraph::stop()
{ {
for (auto chan : channels_) for (const auto& chan : channels_)
{ {
chan->stop_channel(); // stop the acquisition or tracking operation chan->stop_channel(); // stop the acquisition or tracking operation
} }