Skip to content

Commit

Permalink
bm: use const reference for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Jan 1, 2024
1 parent e5fc182 commit 4a8bea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/hw/sh4/dyna/blockmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ void print_blocks()
INFO_LOG(DYNAREC, "Writing blocks to %p", f);
}

for (auto it : blkmap)
for (const auto& it : blkmap)
{
RuntimeBlockInfoPtr blk = it.second;
if (f)
Expand Down

0 comments on commit 4a8bea7

Please sign in to comment.