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:
@@ -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"));
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user