mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Fix issue #2068 - maps list update
This commit is contained in:
@@ -102,6 +102,12 @@ std::set<boost::filesystem::path> CFilesystemList::getResourceNames(const Resour
|
||||
return std::move(paths);
|
||||
}
|
||||
|
||||
void CFilesystemList::updateFilteredFiles(std::function<bool(const std::string &)> filter) const
|
||||
{
|
||||
for (auto & loader : loaders)
|
||||
loader->updateFilteredFiles(filter);
|
||||
}
|
||||
|
||||
std::unordered_set<ResourceID> CFilesystemList::getFilteredFiles(std::function<bool(const ResourceID &)> filter) const
|
||||
{
|
||||
std::unordered_set<ResourceID> ret;
|
||||
|
||||
Reference in New Issue
Block a user