1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-16 12:12:57 +00:00

clang-tidy: apply performance-unnecessary-value-param check

This commit is contained in:
Carles Fernandez 2019-02-12 09:16:22 +01:00
parent 9551c5e5a1
commit ef0da0a973
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 4 additions and 4 deletions

View File

@ -45,12 +45,12 @@ using google::LogMessage;
gnss_synchro_monitor_sptr gnss_synchro_make_monitor(unsigned int n_channels,
int output_rate_ms,
int udp_port,
std::vector<std::string> udp_addresses)
const std::vector<std::string>& udp_addresses)
{
return gnss_synchro_monitor_sptr(new gnss_synchro_monitor(n_channels,
output_rate_ms,
udp_port,
std::move(udp_addresses)));
udp_addresses));
}

View File

@ -48,7 +48,7 @@ using gnss_synchro_monitor_sptr = boost::shared_ptr<gnss_synchro_monitor>;
gnss_synchro_monitor_sptr gnss_synchro_make_monitor(unsigned int n_channels,
int output_rate_ms,
int udp_port,
std::vector<std::string> udp_addresses);
const std::vector<std::string>& udp_addresses);
/*!
* \brief This class implements a block that computes the PVT solution with Galileo E1 signals
@ -59,7 +59,7 @@ private:
friend gnss_synchro_monitor_sptr gnss_synchro_make_monitor(unsigned int nchannels,
int output_rate_ms,
int udp_port,
std::vector<std::string> udp_addresses);
const std::vector<std::string>& udp_addresses);
unsigned int d_nchannels;