Remove unused ChannelSpacing parameter

This commit is contained in:
Lars Toenning
2023-02-06 00:29:06 +01:00
parent 76b591bf06
commit 8747b91ea6
11 changed files with 15 additions and 19 deletions

View File

@@ -45,7 +45,7 @@ namespace BlackMisc::Aviation
});
}
CAtcStationList CAtcStationList::findIfFrequencyIsWithinSpacing(const CFrequency &frequency, CComSystem::ChannelSpacing spacing)
CAtcStationList CAtcStationList::findIfFrequencyIsWithinSpacing(const CFrequency &frequency)
{
if (frequency.isNull()) { return CAtcStationList(); }
return this->findBy([&](const CAtcStation & atcStation)

View File

@@ -51,8 +51,8 @@ namespace BlackMisc::Aviation
//! Any stations tuned in frequency of COM unit (with channel spacing)
bool hasComUnitTunedInChannelSpacing(const CComSystem &comUnit) const;
//! Find 0..n stations within channel spacing
CAtcStationList findIfFrequencyIsWithinSpacing(const PhysicalQuantities::CFrequency &frequency, CComSystem::ChannelSpacing spacing);
//! Find 0..n stations with frequency (with 5 kHz spacing for .x20/.x25 and .x70/.x75)
CAtcStationList findIfFrequencyIsWithinSpacing(const PhysicalQuantities::CFrequency &frequency);
//! Update if message changed
bool updateIfMessageChanged(const CInformationMessage &im, const CCallsign &callsign, bool overrideWithNewer);