diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2018-10-24 12:46:04 +0200 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2018-10-31 09:46:11 +0000 |
commit | 497f43c90f7160c1b198d829eab21c8c010fc7f8 (patch) | |
tree | 0d8357380ede68cc868800efeede9048f67b6736 /tests | |
parent | 7f54ea714ed62f3b4fb88dedbee9357bf6a26d26 (diff) |
tst_QCborValue: Disable support for spaceship operator
Spaceship operator was disabled for QCborValue, but not the test.
Change-Id: Icb91da689f62ef6de9f4fa926346505c5e50e9eb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/corelib/serialization/qcborvalue/tst_qcborvalue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/serialization/qcborvalue/tst_qcborvalue.cpp b/tests/auto/corelib/serialization/qcborvalue/tst_qcborvalue.cpp index 38b26e7de4..4b753eab6b 100644 --- a/tests/auto/corelib/serialization/qcborvalue/tst_qcborvalue.cpp +++ b/tests/auto/corelib/serialization/qcborvalue/tst_qcborvalue.cpp @@ -330,7 +330,7 @@ void tst_QCborValue::copyCompare() QCOMPARE(v, other); QVERIFY(!(v != other)); QVERIFY(!(v < other)); -#if QT_HAS_INCLUDE(<compare>) +#if 0 && QT_HAS_INCLUDE(<compare>) QVERIFY(v <= other); QVERIFY(v >= other); QVERIFY(!(v > other)); |