summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib')
-rw-r--r--tests/benchmarks/corelib/thread/qreadwritelock/tst_bench_qreadwritelock.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/benchmarks/corelib/thread/qreadwritelock/tst_bench_qreadwritelock.cpp b/tests/benchmarks/corelib/thread/qreadwritelock/tst_bench_qreadwritelock.cpp
index f0ec45e267..be12877df1 100644
--- a/tests/benchmarks/corelib/thread/qreadwritelock/tst_bench_qreadwritelock.cpp
+++ b/tests/benchmarks/corelib/thread/qreadwritelock/tst_bench_qreadwritelock.cpp
@@ -30,10 +30,8 @@
#include <QTest>
#include <mutex>
#if __has_include(<shared_mutex>)
-#if __cplusplus > 201103L
#include <shared_mutex>
#endif
-#endif
#include <vector>
// Wrapers that take pointers instead of reference to have the same interface as Qt