Eliminats warnings que nomes es veuen al compilar en macos/linux

This commit is contained in:
2024-10-27 17:45:49 +01:00
parent 759adbf6fd
commit b90ac65cfc
5 changed files with 18 additions and 21 deletions

View File

@@ -40,7 +40,7 @@ void Asset::add(const std::string &file, AssetType type, bool required, bool abs
std::string Asset::get(const std::string &text) const
{
auto it = std::find_if(file_list_.begin(), file_list_.end(),
[&text, this](const auto &f)
[&text](const auto &f)
{
return getFileName(f.file) == text;
});