1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-22 21:13:15 +00:00

Fix readability-avoid-const-params-in-decls

This commit is contained in:
Carles Fernandez 2021-10-10 18:59:56 +02:00
parent 188d34ba14
commit aab8ef3b34
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
6 changed files with 6 additions and 6 deletions

View File

@ -595,7 +595,7 @@ int32_t Beidou_Dnav_Navigation_Message::d2_subframe_decoder(std::string const& s
}
double Beidou_Dnav_Navigation_Message::utc_time(const double beidoutime_corrected) const
double Beidou_Dnav_Navigation_Message::utc_time(double beidoutime_corrected) const
{
double t_utc;
double t_utc_daytime;

View File

@ -80,7 +80,7 @@ public:
* \brief Computes the Coordinated Universal Time (UTC) and
* returns it in [s]
*/
double utc_time(const double beidoutime_corrected) const;
double utc_time(double beidoutime_corrected) const;
bool satellite_validation();

View File

@ -53,7 +53,7 @@ boost::posix_time::ptime Glonass_Gnav_Ephemeris::compute_GLONASS_time(double off
}
boost::posix_time::ptime Glonass_Gnav_Ephemeris::glot_to_utc(const double offset_time, const double glot2utc_corr) const
boost::posix_time::ptime Glonass_Gnav_Ephemeris::glot_to_utc(double offset_time, double glot2utc_corr) const
{
const double glot2utc = 3 * 3600;
int J = 0;

View File

@ -106,7 +106,7 @@ public:
* \param[in] glot2utc_corr Correction from GLONASST to UTC
* \returns UTC time as a boost::posix_time::ptime object
*/
boost::posix_time::ptime glot_to_utc(const double offset_time, const double glot2utc_corr) const;
boost::posix_time::ptime glot_to_utc(double offset_time, double glot2utc_corr) const;
/*!
* \brief Converts from GLONASST to GPST

View File

@ -357,7 +357,7 @@ int32_t Gps_Navigation_Message::subframe_decoder(char* subframe)
}
double Gps_Navigation_Message::utc_time(const double gpstime_corrected) const
double Gps_Navigation_Message::utc_time(double gpstime_corrected) const
{
double t_utc;
double t_utc_daytime;

View File

@ -74,7 +74,7 @@ public:
* \brief Computes the Coordinated Universal Time (UTC) and
* returns it in [s] (IS-GPS-200M, 20.3.3.5.2.4)
*/
double utc_time(const double gpstime_corrected) const;
double utc_time(double gpstime_corrected) const;
/*!
* \brief Gets Time of Week, in seconds