mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
refactor: Fix clang-tidy modernize-use-auto
This commit is contained in:
@@ -42,7 +42,7 @@ namespace MiscTest
|
||||
aircraft.setCallsign("DEIHL");
|
||||
aircraft.setCom1ActiveFrequency(f);
|
||||
CVariant vf = aircraft.propertyByIndex(i);
|
||||
const CFrequency pf = vf.value<CFrequency>();
|
||||
const auto pf = vf.value<CFrequency>();
|
||||
QVERIFY2(pf == f, "Frequencies should have same value");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user