From 99a1ba699b84f8a3d810f7b2d4d8929ff28c7ec5 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Thu, 25 Mar 2021 10:55:48 +0100 Subject: Trust that Q_NO_TYPESAFE_FLAGS is no longer defined MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was introduced in 2003 during the transition to using QFlags. The transition is now safely completed. Change-Id: I29890202be10052896178502caaffbfd513424e7 Reviewed-by: Bernhard Rosenkränzer Reviewed-by: Giuseppe D'Angelo --- src/xmlpatterns/utils/qpatternistlocale_p.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xmlpatterns/utils/qpatternistlocale_p.h b/src/xmlpatterns/utils/qpatternistlocale_p.h index 11e47fa..8c3c3af 100644 --- a/src/xmlpatterns/utils/qpatternistlocale_p.h +++ b/src/xmlpatterns/utils/qpatternistlocale_p.h @@ -267,10 +267,6 @@ namespace QPatternist } -#ifdef Q_NO_TYPESAFE_FLAGS -#error "Patternist does not compile with Q_NO_TYPESAFE_FLAGS set, because the code uses negative enum values. qglobal.h has typedef uint Flags." -#endif - #ifdef QT_NO_EXCEPTIONS #error "Patternist uses exceptions and cannot be built without." #endif -- cgit v1.2.1