refactor: Remove unused method

This commit is contained in:
Lars Toenning
2023-12-18 22:52:27 +01:00
parent 457beab327
commit e4935c3036
2 changed files with 0 additions and 13 deletions

View File

@@ -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");

View File

@@ -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();