From a758315eba40b3864673aa73a93745f08f40816a Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 5 Aug 2024 19:02:31 -0700 Subject: [PATCH] QAnyStringView: remove direct #include Since commit 2bc9ad0e5dd75cf69f4a8bf94a6a917de2b4e8c4, we have our qcompare.h header, which takes care of this. This also fixes the build when the compiler supports operator<=> but the Standard Library doesn't (e.g, VxWorks): qanystringview.h:13:10: fatal error: 'compare' file not found Change-Id: I8a96935cf6c742259c9dfffd17e9014a52d4991c Reviewed-by: Ivan Solovev (cherry picked from commit f48f425d3ebc76b242243b440fb853ba29e0970c) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/text/qanystringview.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/corelib/text/qanystringview.h b/src/corelib/text/qanystringview.h index 075d64679c1..b855c826d30 100644 --- a/src/corelib/text/qanystringview.h +++ b/src/corelib/text/qanystringview.h @@ -9,9 +9,6 @@ #include #include -#ifdef __cpp_impl_three_way_comparison -#include -#endif #include #include