QAnyStringView: remove direct #include <compare>
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 Pick-to: 6.8 Change-Id: I8a96935cf6c742259c9dfffd17e9014a52d4991c Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
parent
f8409dcc68
commit
f48f425d3e
@ -9,9 +9,6 @@
|
||||
#include <QtCore/qstringview.h>
|
||||
#include <QtCore/qutf8stringview.h>
|
||||
|
||||
#ifdef __cpp_impl_three_way_comparison
|
||||
#include <compare>
|
||||
#endif
|
||||
#include <QtCore/q20type_traits.h>
|
||||
#include <limits>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user