summaryrefslogtreecommitdiffstats
path: root/src/testlib/qbenchmarkevent.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-09-26 17:39:32 -0700
committerThiago Macieira <thiago.macieira@intel.com>2017-09-27 15:53:04 +0000
commit1402f5d16e792c37a81af45fa3cd662e2da21910 (patch)
tree5aff865edc80afcce98c18d00eaef8ce76e8b046 /src/testlib/qbenchmarkevent.cpp
parent9fcbef15f662cffb134925dc449ae8586cad44e4 (diff)
Workaround GCC 6 parsing error ("used but never defined")
GCC 7 and other compilers compile this code just fine. GCC 6 fails, so this is clearly a compiler bug. So revert the implementation of the qWait() function back to the original, to make the problem disappear. qtestsystem.h:58:42: error: ‘bool QTest::qWaitFor(Functor, int) [with Functor = bool (*)()]’ used but never defined [-Werror] Change-Id: I0b48fc8e90304e0dacc3fffd14e8110138cc9f45 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/testlib/qbenchmarkevent.cpp')
0 files changed, 0 insertions, 0 deletions