mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-03 19:25:18 +02:00
Using const reference for C++17 range-based loop and freq used objects
This commit is contained in:
committed by
Henrik Rydgård
parent
da318e0974
commit
315340fc62
@@ -354,7 +354,7 @@ public:
|
||||
bool foundBroken = false;
|
||||
auto importedFuncsState = importedFuncs;
|
||||
importedFuncs.clear();
|
||||
for (auto func : importedFuncsState) {
|
||||
for (const auto &func : importedFuncsState) {
|
||||
if (func.moduleName[KERNELOBJECT_MAX_NAME_LENGTH] != '\0' || !Memory::IsValidAddress(func.stubAddr)) {
|
||||
foundBroken = true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user