mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T27, made isAircraftInRange context and provider function
Based on clang warnings and RW's comment now pure virtual and context and provider function
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1400f38aa9
commit
ec844fd438
@@ -502,6 +502,12 @@ namespace BlackCore
|
||||
return this->m_airspace->getAircraftInRangeCount();
|
||||
}
|
||||
|
||||
bool CContextNetwork::isAircraftInRange(const CCallsign &callsign) const
|
||||
{
|
||||
if (this->isDebugEnabled()) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO; }
|
||||
return this->m_airspace->isAircraftInRange(callsign);
|
||||
}
|
||||
|
||||
CSimulatedAircraft CContextNetwork::getAircraftInRangeForCallsign(const CCallsign &callsign) const
|
||||
{
|
||||
if (this->isDebugEnabled()) { CLogMessage(this, BlackMisc::CLogCategory::contextSlot()).debug() << Q_FUNC_INFO << callsign; }
|
||||
|
||||
Reference in New Issue
Block a user