Fixed returning of test result (++result was +result).
authorJens Vollinga <jensv@balin.nikhef.nl>
Fri, 6 Feb 2009 15:22:58 +0000 (16:22 +0100)
committerJens Vollinga <jensv@balin.nikhef.nl>
Fri, 6 Feb 2009 15:22:58 +0000 (16:22 +0100)
check/exam_hashmap.cpp

index c8540f3..55d3be7 100644 (file)
@@ -210,7 +210,7 @@ unsigned exam_hashmap()
        }
        if (it->second != 0) {
                clog << "find() returned an incorrect value" << endl;
-               +result;
+               ++result;
        }
 
        M5.erase(it);