Merge pull request #14565 from SuperSamus/cpp-argument-move-reference

Improve usage of std::move and const references parameters
This commit is contained in:
JosJuice
2026-04-18 21:02:30 +02:00
committed by GitHub
140 changed files with 318 additions and 277 deletions

View File

@@ -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)