mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix some bad "for (auto x : y)" usage
This commit is contained in:
1 parent
62e4b2852c
commit
dbe6ec80a0
17 files changed
+31
-27
No files matched your search
@@ -542,7 +542,7 @@ static void WriteVarSymbol(WriteVarSymbolState &state, u32 exportAddress, u32 re
|
||||
ERROR_LOG_REPORT(Log::Loader, "HI16 and LO16 imports do not match at %08x for %08x (should be %08x)", relocAddress, state.lastHI16ExportAddress, exportAddress);
|
||||
} else {
|
||||
// Process each of the HI16. Usually there's only one.
|
||||
for (auto &reloc : state.lastHI16Relocs) {
|
||||
for (const auto &reloc : state.lastHI16Relocs) {
|
||||
if (!reverse) {
|
||||
full = (reloc.data << 16) + offsetLo + exportAddress;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user