PlacefileManager::GetActivePlacefiles is no longer used

This commit is contained in:
Dan Paulat 2023-11-05 06:23:57 -06:00
parent 92f24528b7
commit e43dcb9a6b
2 changed files with 0 additions and 25 deletions

View file

@ -436,24 +436,6 @@ void PlacefileManager::SetRadarSite(
}
}
std::vector<std::shared_ptr<gr::Placefile>>
PlacefileManager::GetActivePlacefiles()
{
std::vector<std::shared_ptr<gr::Placefile>> placefiles;
std::shared_lock lock {p->placefileRecordLock_};
for (const auto& record : p->placefileRecords_)
{
if (record->enabled_ && record->placefile_ != nullptr)
{
placefiles.push_back(record->placefile_);
}
}
return placefiles;
}
void PlacefileManager::AddUrl(const std::string& urlString,
const std::string& title,
bool enabled,