1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-17 23:55:15 +00:00

Apply clang-tidy

This commit is contained in:
Carles Fernandez
2019-09-11 22:31:34 +00:00
parent e2d4fab080
commit 0520d400b3
53 changed files with 134 additions and 135 deletions

View File

@@ -66,7 +66,7 @@ namespace errorlib = boost::system;
#endif
hybrid_observables_gs_sptr hybrid_observables_gs_make(unsigned int nchannels_in, unsigned int nchannels_out, bool dump, bool dump_mat, std::string dump_filename)
hybrid_observables_gs_sptr hybrid_observables_gs_make(unsigned int nchannels_in, unsigned int nchannels_out, bool dump, bool dump_mat, const std::string &dump_filename)
{
return hybrid_observables_gs_sptr(new hybrid_observables_gs(nchannels_in, nchannels_out, dump, dump_mat, std::move(dump_filename)));
}
@@ -76,9 +76,9 @@ hybrid_observables_gs::hybrid_observables_gs(uint32_t nchannels_in,
uint32_t nchannels_out,
bool dump,
bool dump_mat,
std::string dump_filename) : gr::block("hybrid_observables_gs",
gr::io_signature::make(nchannels_in, nchannels_in, sizeof(Gnss_Synchro)),
gr::io_signature::make(nchannels_out, nchannels_out, sizeof(Gnss_Synchro)))
const std::string &dump_filename) : gr::block("hybrid_observables_gs",
gr::io_signature::make(nchannels_in, nchannels_in, sizeof(Gnss_Synchro)),
gr::io_signature::make(nchannels_out, nchannels_out, sizeof(Gnss_Synchro)))
{
// PVT input message port
this->message_port_register_in(pmt::mp("pvt_to_observables"));

View File

@@ -57,7 +57,7 @@ hybrid_observables_gs_sptr hybrid_observables_gs_make(
unsigned int nchannels_out,
bool dump,
bool dump_mat,
std::string dump_filename);
const std::string& dump_filename);
/*!
* \brief This class implements a block that computes observables
@@ -76,14 +76,14 @@ private:
uint32_t nchannels_out,
bool dump,
bool dump_mat,
std::string dump_filename);
const std::string& dump_filename);
hybrid_observables_gs(
uint32_t nchannels_in,
uint32_t nchannels_out,
bool dump,
bool dump_mat,
std::string dump_filename);
const std::string& dump_filename);
bool T_rx_TOW_set; // rx time follow GPST
bool d_dump;