From 1ecd3b8858a0bfddfcc6908441fb5f1371ce14b8 Mon Sep 17 00:00:00 2001 From: Tatiana Borisova Date: Mon, 24 Jun 2024 17:02:05 +0200 Subject: [PATCH] tst_QAnyStringView: remove unused ONLY_3WAY() macro Amends 2bc9ad0e5dd75cf69f4a8bf94a6a917de2b4e8c4. Change-Id: I57a99fa82f1740405e2a8f8571ac2c6ba073ae91 Reviewed-by: Marc Mutz (cherry picked from commit a7fdc926558981c99cb9fcc80074621b8af4968c) Reviewed-by: Qt Cherry-pick Bot --- .../corelib/text/qanystringview/tst_qanystringview.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp b/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp index 51ea3025abb..5382c8f3ec5 100644 --- a/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp +++ b/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp @@ -52,14 +52,6 @@ # define ONLY_WIN(expr) QSKIP("This is a Windows-only test") #endif -#ifdef __cpp_impl_three_way_comparison -# define ONLY_3WAY(expr) expr -#else -# define ONLY_3WAY(expr) \ - QSKIP("This test requires C++20 spaceship operator (<=>) " \ - "support enabled in the standard library.") -#endif - using namespace Qt::StringLiterals; template