summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/thread/qfuture/tst_qfuture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/thread/qfuture/tst_qfuture.cpp b/tests/auto/corelib/thread/qfuture/tst_qfuture.cpp
index ad690a094b..56d559394b 100644
--- a/tests/auto/corelib/thread/qfuture/tst_qfuture.cpp
+++ b/tests/auto/corelib/thread/qfuture/tst_qfuture.cpp
@@ -1438,6 +1438,8 @@ void tst_QFuture::nestedExceptions()
QVERIFY(MyClass::caught);
}
+#endif // QT_NO_EXCEPTIONS
+
void tst_QFuture::nonGlobalThreadPool()
{
static Q_CONSTEXPR int Answer = 42;
@@ -1485,7 +1487,5 @@ void tst_QFuture::nonGlobalThreadPool()
}
}
-#endif // QT_NO_EXCEPTIONS
-
QTEST_MAIN(tst_QFuture)
#include "tst_qfuture.moc"