From 49f34a402adac98208ee119472130a5541b6a0db Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Wed, 20 Oct 2021 12:21:33 +0200 Subject: Remove the unnecessary compile-time check for recursive QSet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It doesn't make sense to have a recursive QSet with deleted operator==, since it's not possible to add elements to it. Consequently declaring a metatype for it also doesn't make sense. Remove the commented compile-time check for it. Task-number: QTBUG-96257 Change-Id: I74ebefb38adcbe36d5c2f317188743e1f37fe16d Reviewed-by: MÃ¥rten Nordheim Reviewed-by: Thiago Macieira --- tests/auto/corelib/tools/collections/tst_collections.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto') diff --git a/tests/auto/corelib/tools/collections/tst_collections.cpp b/tests/auto/corelib/tools/collections/tst_collections.cpp index d4551785e9..6d21de9ae7 100644 --- a/tests/auto/corelib/tools/collections/tst_collections.cpp +++ b/tests/auto/corelib/tools/collections/tst_collections.cpp @@ -258,8 +258,6 @@ Q_DECLARE_METATYPE(NoCmpParamRecursiveMultiHashK); Q_DECLARE_METATYPE(NoCmpParamRecursiveMultiHashV); Q_DECLARE_METATYPE(NoCmpRecursiveList); -// TODO: fix, this requires operator== (QTBUG-96257) -// Q_DECLARE_METATYPE(NoCmpRecursiveSet); Q_DECLARE_METATYPE(NoCmpRecursiveMapV); Q_DECLARE_METATYPE(NoCmpRecursiveMapK); Q_DECLARE_METATYPE(NoCmpRecursiveMultiMapV); -- cgit v1.2.3