mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-05 18:01:15 -04:00
Merge pull request #14565 from SuperSamus/cpp-argument-move-reference
Improve usage of std::move and const references parameters
This commit is contained in:
@@ -657,7 +657,7 @@ void TextureCacheBase::DoSaveState(PointerWrap& p)
|
||||
}
|
||||
}
|
||||
|
||||
auto doList = [&p](auto list) {
|
||||
auto doList = [&p](const auto& list) {
|
||||
u32 list_size = static_cast<u32>(list.size());
|
||||
p.Do(list_size);
|
||||
for (const auto& it : list)
|
||||
|
||||
Reference in New Issue
Block a user