From 6d414f9169261d7e73cb38e45b1f6772e5ee7c6c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 6 Jul 2012 15:11:31 +0300 Subject: [PATCH] Don't use ++ with a bool --- source/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/test.cpp b/source/test.cpp index a05349b..910853f 100644 --- a/source/test.cpp +++ b/source/test.cpp @@ -126,7 +126,7 @@ void Test::start_test(const string &descr) void Test::pass_test() { IO::print("\033[32mok\033[0m\n"); - ++passed; + passed = true; } void Test::fail_test(const string &why) -- 2.43.0