diff --git a/core/hw/sh4/dyna/blockmanager.cpp b/core/hw/sh4/dyna/blockmanager.cpp index eb33e0e62..aca75bc19 100644 --- a/core/hw/sh4/dyna/blockmanager.cpp +++ b/core/hw/sh4/dyna/blockmanager.cpp @@ -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)