Skip to content

Commit

Permalink
clang tidy readability-avoid-const-params-in-decls
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteven4 committed Jul 17, 2022
1 parent 5b183b6 commit d500a1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions csv_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ enum class CsvQuoteMethod {historic, rfc4180};

QStringList
csv_linesplit(const QString& string, const QString& delimited_by,
const QString& enclosed_in, const int line_no, CsvQuoteMethod method = CsvQuoteMethod::historic);
const QString& enclosed_in, int line_no, CsvQuoteMethod method = CsvQuoteMethod::historic);

int
dec_to_intdeg(const double d);
dec_to_intdeg(double d);

double
intdeg_to_dec(const int ideg);
intdeg_to_dec(int ideg);

double
decdir_to_dec(const char* decdir);
Expand Down
2 changes: 1 addition & 1 deletion nmea.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class NmeaFormat : public Format
void wr_position(Waypoint* wpt) override;
void wr_position_deinit() override;

static int nmea_cksum(const char* const buf);
static int nmea_cksum(const char* buf);

private:
/* Types */
Expand Down

0 comments on commit d500a1a

Please sign in to comment.