mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Apply fixes by clang-tidy
This commit is contained in:
		| @@ -51,7 +51,7 @@ void GalileoE1DllPllVemlTrackingFpga::stop_tracking() | ||||
| } | ||||
|  | ||||
| GalileoE1DllPllVemlTrackingFpga::GalileoE1DllPllVemlTrackingFpga( | ||||
|     ConfigurationInterface* configuration, 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) | ||||
| { | ||||
|     //dllpllconf_t trk_param; | ||||
|   | ||||
| @@ -52,7 +52,7 @@ class GalileoE1DllPllVemlTrackingFpga : public TrackingInterface | ||||
| { | ||||
| public: | ||||
|     GalileoE1DllPllVemlTrackingFpga(ConfigurationInterface* configuration, | ||||
|         std::string role, | ||||
|         const std::string& role, | ||||
|         unsigned int in_streams, | ||||
|         unsigned int out_streams); | ||||
|  | ||||
|   | ||||
| @@ -51,7 +51,7 @@ void GalileoE5aDllPllTrackingFpga::stop_tracking() | ||||
| } | ||||
|  | ||||
| GalileoE5aDllPllTrackingFpga::GalileoE5aDllPllTrackingFpga( | ||||
|     ConfigurationInterface *configuration, 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) | ||||
| { | ||||
|     //printf("creating the E5A tracking"); | ||||
|   | ||||
| @@ -52,7 +52,7 @@ class GalileoE5aDllPllTrackingFpga : public TrackingInterface | ||||
| { | ||||
| public: | ||||
|     GalileoE5aDllPllTrackingFpga(ConfigurationInterface* configuration, | ||||
|         std::string role, | ||||
|         const std::string& role, | ||||
|         unsigned int in_streams, | ||||
|         unsigned int out_streams); | ||||
|  | ||||
|   | ||||
| @@ -53,7 +53,7 @@ void GpsL1CaDllPllTrackingFpga::stop_tracking() | ||||
| } | ||||
|  | ||||
| GpsL1CaDllPllTrackingFpga::GpsL1CaDllPllTrackingFpga( | ||||
|     ConfigurationInterface* configuration, 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) | ||||
| { | ||||
|     Dll_Pll_Conf_Fpga trk_param_fpga = Dll_Pll_Conf_Fpga(); | ||||
|   | ||||
| @@ -53,7 +53,7 @@ class GpsL1CaDllPllTrackingFpga : public TrackingInterface | ||||
| { | ||||
| public: | ||||
|     GpsL1CaDllPllTrackingFpga(ConfigurationInterface* configuration, | ||||
|         std::string role, | ||||
|         const std::string& role, | ||||
|         unsigned int in_streams, | ||||
|         unsigned int out_streams); | ||||
|  | ||||
|   | ||||
| @@ -52,7 +52,7 @@ void GpsL2MDllPllTrackingFpga::stop_tracking() | ||||
| } | ||||
|  | ||||
| GpsL2MDllPllTrackingFpga::GpsL2MDllPllTrackingFpga( | ||||
|     ConfigurationInterface* configuration, 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) | ||||
| { | ||||
|     //dllpllconf_t trk_param; | ||||
|   | ||||
| @@ -52,7 +52,7 @@ class GpsL2MDllPllTrackingFpga : public TrackingInterface | ||||
| { | ||||
| public: | ||||
|     GpsL2MDllPllTrackingFpga(ConfigurationInterface* configuration, | ||||
|         std::string role, | ||||
|         const std::string& role, | ||||
|         unsigned int in_streams, | ||||
|         unsigned int out_streams); | ||||
|  | ||||
|   | ||||
| @@ -52,7 +52,7 @@ void GpsL5DllPllTrackingFpga::stop_tracking() | ||||
| } | ||||
|  | ||||
| GpsL5DllPllTrackingFpga::GpsL5DllPllTrackingFpga( | ||||
|     ConfigurationInterface *configuration, 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) | ||||
| { | ||||
|     //printf("L5 TRK CLASS CREATED\n"); | ||||
|   | ||||
| @@ -50,7 +50,7 @@ class GpsL5DllPllTrackingFpga : public TrackingInterface | ||||
| { | ||||
| public: | ||||
|     GpsL5DllPllTrackingFpga(ConfigurationInterface* configuration, | ||||
|         std::string role, | ||||
|         const std::string& role, | ||||
|         unsigned int in_streams, | ||||
|         unsigned int out_streams); | ||||
|  | ||||
|   | ||||
| @@ -62,6 +62,7 @@ | ||||
|  | ||||
| // string manipulation | ||||
| #include <string> | ||||
| #include <utility> | ||||
|  | ||||
| // constants | ||||
| #include "GPS_L1_CA.h" | ||||
| @@ -160,7 +161,7 @@ fpga_multicorrelator_8sc::fpga_multicorrelator_8sc(int32_t n_correlators, | ||||
| { | ||||
|     //printf("tracking fpga class created\n"); | ||||
|     d_n_correlators = n_correlators; | ||||
|     d_device_name = device_name; | ||||
|     d_device_name = std::move(device_name); | ||||
|     d_device_base = device_base; | ||||
|     d_track_pilot = track_pilot; | ||||
|     d_device_descriptor = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez