summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qcompare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qcompare.cpp')
-rw-r--r--src/corelib/global/qcompare.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/global/qcompare.cpp b/src/corelib/global/qcompare.cpp
index e02c78b6ae0..9275ff7a8ee 100644
--- a/src/corelib/global/qcompare.cpp
+++ b/src/corelib/global/qcompare.cpp
@@ -11,9 +11,6 @@
QT_BEGIN_NAMESPACE
#ifdef __cpp_lib_three_way_comparison
-static_assert(sizeof(std::partial_ordering) == sizeof(Qt::partial_ordering));
-static_assert(sizeof(std::weak_ordering) == sizeof(Qt::weak_ordering));
-static_assert(sizeof(std::strong_ordering) == sizeof(Qt::strong_ordering));
#ifdef __cpp_lib_bit_cast
#define CHECK(type, flag) \
static_assert(std::bit_cast<Qt:: type ## _ordering>(std:: type ## _ordering:: flag) \