mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	clang-tidy: apply checks
This commit is contained in:
		| @@ -42,6 +42,7 @@ | |||||||
| namespace bc = boost::math; | namespace bc = boost::math; | ||||||
| #else | #else | ||||||
| #include <boost/integer/common_factor_rt.hpp> | #include <boost/integer/common_factor_rt.hpp> | ||||||
|  | #include <utility> | ||||||
| namespace bc = boost::integer; | namespace bc = boost::integer; | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| @@ -52,7 +53,7 @@ using google::LogMessage; | |||||||
| RtklibPvt::RtklibPvt(ConfigurationInterface* configuration, | RtklibPvt::RtklibPvt(ConfigurationInterface* configuration, | ||||||
|     const std::string& role, |     const std::string& role, | ||||||
|     unsigned int in_streams, |     unsigned int in_streams, | ||||||
|     unsigned int out_streams) : role_(role), |     unsigned int out_streams) : role_(std::move(role)), | ||||||
|                                 in_streams_(in_streams), |                                 in_streams_(in_streams), | ||||||
|                                 out_streams_(out_streams) |                                 out_streams_(out_streams) | ||||||
| { | { | ||||||
|   | |||||||
| @@ -48,10 +48,10 @@ RtlTcpSignalSource::RtlTcpSignalSource(ConfigurationInterface* configuration, | |||||||
|     const std::string& role, |     const std::string& role, | ||||||
|     unsigned int in_stream, |     unsigned int in_stream, | ||||||
|     unsigned int out_stream, |     unsigned int out_stream, | ||||||
|     boost::shared_ptr<gr::msg_queue> queue) : role_(role), |     boost::shared_ptr<gr::msg_queue> queue) : role_(std::move(role)), | ||||||
|                                               in_stream_(in_stream), |                                               in_stream_(in_stream), | ||||||
|                                               out_stream_(out_stream), |                                               out_stream_(out_stream), | ||||||
|                                               queue_(std::move(std::move(queue))) |                                               queue_(std::move(queue)) | ||||||
| { | { | ||||||
|     // DUMP PARAMETERS |     // DUMP PARAMETERS | ||||||
|     std::string empty = ""; |     std::string empty = ""; | ||||||
|   | |||||||
| @@ -90,7 +90,7 @@ private: | |||||||
|  |  | ||||||
|     // rtl_tcp settings |     // rtl_tcp settings | ||||||
|     std::string address_; |     std::string address_; | ||||||
|     short port_; |     int16_t port_; | ||||||
|     bool AGC_enabled_; |     bool AGC_enabled_; | ||||||
|     double sample_rate_; |     double sample_rate_; | ||||||
|     bool flip_iq_; |     bool flip_iq_; | ||||||
|   | |||||||
| @@ -48,7 +48,7 @@ using google::LogMessage; | |||||||
|  |  | ||||||
| GalileoE1TcpConnectorTracking::GalileoE1TcpConnectorTracking( | GalileoE1TcpConnectorTracking::GalileoE1TcpConnectorTracking( | ||||||
|     ConfigurationInterface* configuration, const std::string& role, |     ConfigurationInterface* configuration, const std::string& role, | ||||||
|     unsigned int in_streams, unsigned int out_streams) : role_(role), in_streams_(in_streams), out_streams_(out_streams) |     unsigned int in_streams, unsigned int out_streams) : role_(std::move(role)), in_streams_(in_streams), out_streams_(out_streams) | ||||||
| { | { | ||||||
|     DLOG(INFO) << "role " << role; |     DLOG(INFO) << "role " << role; | ||||||
|     //################# CONFIGURATION PARAMETERS ######################## |     //################# CONFIGURATION PARAMETERS ######################## | ||||||
|   | |||||||
| @@ -47,7 +47,7 @@ using google::LogMessage; | |||||||
|  |  | ||||||
| GpsL1CaTcpConnectorTracking::GpsL1CaTcpConnectorTracking( | GpsL1CaTcpConnectorTracking::GpsL1CaTcpConnectorTracking( | ||||||
|     ConfigurationInterface* configuration, const std::string& role, |     ConfigurationInterface* configuration, const std::string& role, | ||||||
|     unsigned int in_streams, unsigned int out_streams) : role_(role), in_streams_(in_streams), out_streams_(out_streams) |     unsigned int in_streams, unsigned int out_streams) : role_(std::move(role)), in_streams_(in_streams), out_streams_(out_streams) | ||||||
| { | { | ||||||
|     DLOG(INFO) << "role " << role; |     DLOG(INFO) << "role " << role; | ||||||
|     //################# CONFIGURATION PARAMETERS ######################## |     //################# CONFIGURATION PARAMETERS ######################## | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez