summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/testlib/qbenchmark.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qbenchmark.h b/src/testlib/qbenchmark.h
index 7b1792d..a9f38de 100644
--- a/src/testlib/qbenchmark.h
+++ b/src/testlib/qbenchmark.h
@@ -76,7 +76,7 @@ public:
}
#define QBENCHMARK \
- for (QTest::QBenchmarkIterationController __iteration_controller(); \
+ for (QTest::QBenchmarkIterationController __iteration_controller; \
__iteration_controller.isDone() == false; __iteration_controller.next())
#define QBENCHMARK_ONCE \