mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:40:05 +00:00
PlacefileManager::GetActivePlacefiles is no longer used
This commit is contained in:
parent
92f24528b7
commit
e43dcb9a6b
2 changed files with 0 additions and 25 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue