mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Using const reference for C++17 range-based loop and freq used objects
This commit is contained in:
1 parent
da318e0974
commit
315340fc62
13 files changed
+20
-20
No files matched your search
@@ -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