Eliminats warnings que nomes es veuen al compilar en macos/linux
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user