diff options
author | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> | 2021-09-30 14:11:14 +0200 |
---|---|---|
committer | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> | 2021-10-01 02:46:09 +0200 |
commit | 44a74127954dce2416842a6644cbdff4c513b6fb (patch) | |
tree | b97491cf7d9e566e6ff24e622feb5c86933ca594 /tests/benchmarks/corelib/thread/qreadwritelock | |
parent | 79f62380f09988949bc601060ff5131cf34de872 (diff) |
Remove checks for C++ standard versions C++17 and below
Qt requires a compiler that support C++17 thus __cplusplus
is always 201703L or higher. This patch removes checks
for __cplusplus value that always succeed.
Change-Id: I4b830683ecefab8f913d8b09604086d53209d2e3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/benchmarks/corelib/thread/qreadwritelock')
-rw-r--r-- | tests/benchmarks/corelib/thread/qreadwritelock/tst_bench_qreadwritelock.cpp | 2 |
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 |