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 authored and GitHub committed 2026-04-18 21:02:30 +02:00
commit 74bb80544e
140 files changed
+318 -277

No files matched your search

+1 -1
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)