mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
Fix clang-tidy and clazy warnings
This commit is contained in:
@@ -65,7 +65,7 @@ namespace BlackMisc
|
||||
return closest;
|
||||
}
|
||||
|
||||
QString CWeatherGrid::getDescription(const QString sep) const
|
||||
QString CWeatherGrid::getDescription(const QString &sep) const
|
||||
{
|
||||
QString s;
|
||||
QTextStream qtout(&s);
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace BlackMisc
|
||||
CWeatherGrid findClosest(int number, const BlackMisc::Geo::ICoordinateGeodetic &coordinate) const;
|
||||
|
||||
//! Allow to describe myself
|
||||
QString getDescription(const QString sep = "\n") const;
|
||||
QString getDescription(const QString &sep = "\n") const;
|
||||
|
||||
//! Get all available weather scenarios
|
||||
static const QVector<CWeatherScenario> &getAllScenarios();
|
||||
|
||||
Reference in New Issue
Block a user