1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-18 21:23:02 +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

@ -105,11 +105,11 @@ public:
private:
std::vector<gr::blocks::file_source::sptr> file_source_vec_;
#if GNURADIO_USES_STD_POINTERS
std::shared_ptr<gr::block> valve_;
#else
boost::shared_ptr<gr::block> valve_;
#endif
#if GNURADIO_USES_STD_POINTERS
std::shared_ptr<gr::block> valve_;
#else
boost::shared_ptr<gr::block> valve_;
#endif
gr::blocks::file_sink::sptr sink_;
std::vector<gr::blocks::throttle::sptr> throttle_vec_;
std::vector<std::string> filename_vec_;

View File

@ -105,11 +105,11 @@ public:
private:
gr::blocks::file_source::sptr file_source_;
gr::blocks::deinterleave::sptr deint_;
#if GNURADIO_USES_STD_POINTERS
std::vector<std::shared_ptr<gr::block>> valve_vec_;
#else
std::vector<boost::shared_ptr<gr::block>> valve_vec_;
#endif
#if GNURADIO_USES_STD_POINTERS
std::vector<std::shared_ptr<gr::block>> valve_vec_;
#else
std::vector<boost::shared_ptr<gr::block>> valve_vec_;
#endif
std::vector<gr::blocks::endian_swap::sptr> endian_vec_;
std::vector<gr::blocks::null_sink::sptr> null_sinks_;
std::vector<unpack_spir_gss6450_samples_sptr> unpack_spir_vec_;

View File

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

View File

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