From e317fbfbb652c178b828faa967f0f997beed21c8 Mon Sep 17 00:00:00 2001 From: escherstair Date: Tue, 3 Sep 2019 08:01:56 +0200 Subject: [PATCH] prefer prefix ++/-- operators for non-primitive types --- test/unit/SceneDiffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/SceneDiffer.cpp b/test/unit/SceneDiffer.cpp index fb000db29..684d9fee6 100644 --- a/test/unit/SceneDiffer.cpp +++ b/test/unit/SceneDiffer.cpp @@ -123,7 +123,7 @@ void SceneDiffer::showReport() { return; } - for ( std::vector::iterator it = m_diffs.begin(); it != m_diffs.end(); it++ ) { + for ( std::vector::iterator it = m_diffs.begin(); it != m_diffs.end(); ++it ) { std::cout << *it << "\n"; }