mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Cleanup warnings of -Wunused-lambda-capture
Remove unused lambda captures.
This commit is contained in:
parent
62707986b7
commit
da223a2271
3 changed files with 4 additions and 5 deletions
|
@ -523,7 +523,7 @@ void TextureCacheBase::DoSaveState(PointerWrap& p)
|
|||
// Storing them would duplicate data in the save state file, adding to decompression time.
|
||||
return entry->IsCopy();
|
||||
};
|
||||
auto AddCacheEntryToMap = [&entry_map, &entries_to_save, &p](TCacheEntry* entry) -> u32 {
|
||||
auto AddCacheEntryToMap = [&entry_map, &entries_to_save](TCacheEntry* entry) -> u32 {
|
||||
auto iter = entry_map.find(entry);
|
||||
if (iter != entry_map.end())
|
||||
return iter->second;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue