mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 07:15:34 +08:00
Fixed clazy warnings: unnecessary containers and containers being detached.
This commit is contained in:
@@ -218,7 +218,7 @@ namespace BlackMisc
|
||||
CSpeed guessedVRotate = this->isVtol() ? CSpeed::null() : CSpeed(70, CSpeedUnit::km_h());
|
||||
|
||||
const int engines = this->getEnginesCount();
|
||||
const QChar engineType = this->getEngineType()[0].toUpper();
|
||||
const QChar engineType = this->getEngineType().at(0).toUpper();
|
||||
do
|
||||
{
|
||||
if (engines == 1)
|
||||
|
||||
Reference in New Issue
Block a user