mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 20:25:29 +08:00
Fix cppcheck and compiler warnings
This commit is contained in:
@@ -126,7 +126,7 @@ namespace BlackMisc
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CSimulatorSettings::setRecordedGndRadius(CLength &radius)
|
||||
bool CSimulatorSettings::setRecordedGndRadius(const CLength &radius)
|
||||
{
|
||||
if (radius == m_recordedGndRadius) { return false; }
|
||||
m_recordedGndRadius = radius;
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace BlackMisc
|
||||
BlackMisc::PhysicalQuantities::CLength getRecordedGndRadius() const { return m_recordedGndRadius; }
|
||||
|
||||
//! Record GND values with radius
|
||||
bool setRecordedGndRadius(BlackMisc::PhysicalQuantities::CLength &radius);
|
||||
bool setRecordedGndRadius(const BlackMisc::PhysicalQuantities::CLength &radius);
|
||||
|
||||
//! Reset the paths
|
||||
void resetPaths();
|
||||
|
||||
Reference in New Issue
Block a user