Added missing character

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-04-12 00:49:50 +03:00
parent 4fbd5abe41
commit 11f8d25d94
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -318,7 +318,7 @@ auto V1::getAllMods(QDir& index_dir) -> QList<Mod>
auto files = index_dir.entryList(QDir::Filter::Files);
auto mods = QList<Mod>();
std::transform(files.begin(), files.end(), std::back_inserter(mods),
[index_dir](auto file_name) { return getIndexForMod(index_dir, file_name); });
[&index_dir](auto file_name) { return getIndexForMod(index_dir, file_name); });
return mods;
}