mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T242, null functions for livery, airline, aircraft
This commit is contained in:
@@ -423,5 +423,16 @@ namespace BlackMisc
|
||||
}
|
||||
return score;
|
||||
}
|
||||
|
||||
bool CLivery::isNull() const
|
||||
{
|
||||
return m_airline.isNull() && m_combinedCode.isEmpty() && m_description.isEmpty();
|
||||
}
|
||||
|
||||
const CLivery &CLivery::null()
|
||||
{
|
||||
static const CLivery null;
|
||||
return null;
|
||||
}
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user