summaryrefslogtreecommitdiffstats
path: root/src/testlib/qbenchmarktimemeasurers_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-09-26 17:00:22 -0700
committerShawn Rutledge <shawn.rutledge@qt.io>2017-09-27 15:40:06 +0000
commit9fcbef15f662cffb134925dc449ae8586cad44e4 (patch)
treee17e24127d28d8a1d1b4be1d69efcb6b19aeeaca /src/testlib/qbenchmarktimemeasurers_p.h
parentef0129bb66768e6dea9e13ce650054e149a79f53 (diff)
Fix build: move Q_REQUIRED_RESULT to the right position
If you're using GCC 7 or Clang 4, Q_REQUIRED_RESULT expands to [[nodiscard]] that must appear in as specific place on the line. qcompilerdetection.h:1182:29: error: attribute ignored [-Werror=attributes] qtestsystem.h:58:12: note: in expansion of macro ‘Q_REQUIRED_RESULT’ static Q_REQUIRED_RESULT bool qWaitFor(Functor predicate, int timeout = 5000) ^~~~~~~~~~~~~~~~~ Change-Id: I0b48fc8e90304e0dacc3fffd14e80ede168d5c6b Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/testlib/qbenchmarktimemeasurers_p.h')
0 files changed, 0 insertions, 0 deletions