~williamvds/microlator

9966ef386e99f0f22674861d442611402cee975a — williamvds 4 years ago eb2b801
lint: Use const auto * for array iterator
1 files changed, 1 insertions(+), 1 deletions(-)

M test/testCPU.cpp
M test/testCPU.cpp => test/testCPU.cpp +1 -1
@@ 45,7 45,7 @@ TEST_CASE("CPU passes nestest", "[cpu]") {
	cpu.loadProgram(nestestProgram, 0xC000);

	const auto *prev = nestestStates.begin();
	for (auto it = nestestStates.begin(); it != nestestStates.end(); ++it) {
	for (const auto *it = nestestStates.begin(); it != nestestStates.end(); ++it) {
		const auto state = *it;

		INFO("Last instruction: " << prev->dis);