mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refactor: Remove unused method
This commit is contained in:
@@ -777,16 +777,6 @@ namespace BlackMisc::Aviation
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CAircraftIcaoCode::isValidWtc(const QString &candidate)
|
||||
{
|
||||
if (candidate.isEmpty()) { return true; } // we accept unspecified
|
||||
if (candidate.length() == 1)
|
||||
{
|
||||
return candidate == "L" || candidate == "M" || candidate == "H" || candidate == "J";
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
const QString &CAircraftIcaoCode::getUnassignedDesignator()
|
||||
{
|
||||
static const QString z("ZZZZ");
|
||||
|
||||
@@ -327,9 +327,6 @@ namespace BlackMisc::Aviation
|
||||
//! Valid combined type
|
||||
static bool isValidCombinedType(const QString &combinedType);
|
||||
|
||||
//! Valid WTC code?
|
||||
static bool isValidWtc(const QString &candidate);
|
||||
|
||||
//! The unassigned designator ("ZZZZ")
|
||||
static const QString &getUnassignedDesignator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user