From bf08e105894751acc66f337074be6a5b9e738220 Mon Sep 17 00:00:00 2001 From: Jens Vollinga Date: Fri, 6 Feb 2009 16:22:58 +0100 Subject: [PATCH] Fixed returning of test result (++result was +result). --- check/exam_hashmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check/exam_hashmap.cpp b/check/exam_hashmap.cpp index c8540f3e..55d3be77 100644 --- a/check/exam_hashmap.cpp +++ b/check/exam_hashmap.cpp @@ -210,7 +210,7 @@ unsigned exam_hashmap() } if (it->second != 0) { clog << "find() returned an incorrect value" << endl; - +result; + ++result; } M5.erase(it); -- 2.44.0