diff options
author | Morten Sorvig <msorvig@trolltech.com> | 2009-08-11 11:16:45 (GMT) |
---|---|---|
committer | Morten Sorvig <msorvig@trolltech.com> | 2009-08-11 11:16:45 (GMT) |
commit | 72ce054c0f5ed1691ad4056f03e240b69a39e8c7 (patch) | |
tree | 6943fba15fe9b2c7a88a8fe4d87ac7ef17907a87 /src/testlib/qbenchmark.h | |
parent | 73b61029b00e12f313f9097d665539792d53e885 (diff) | |
download | Qt-72ce054c0f5ed1691ad4056f03e240b69a39e8c7.zip Qt-72ce054c0f5ed1691ad4056f03e240b69a39e8c7.tar.gz Qt-72ce054c0f5ed1691ad4056f03e240b69a39e8c7.tar.bz2 |
Compile.
Diffstat (limited to 'src/testlib/qbenchmark.h')
-rw-r--r-- | src/testlib/qbenchmark.h | 2 |
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 \ |