diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-03-25 10:55:48 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-05-04 11:29:47 +0100 |
commit | 99a1ba699b84f8a3d810f7b2d4d8929ff28c7ec5 (patch) | |
tree | e873b45523bcded5b98f9b99ed01ef8f415a180e /src/xmlpatterns/utils/qpatternistlocale_p.h | |
parent | 035fcbc69c790a3cb46ba9ed75654741aebc7c77 (diff) | |
download | qtxmlpatterns-99a1ba699b84f8a3d810f7b2d4d8929ff28c7ec5.tar.gz |
Trust that Q_NO_TYPESAFE_FLAGS is no longer defined
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 <bero@lindev.ch>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/xmlpatterns/utils/qpatternistlocale_p.h')
-rw-r--r-- | src/xmlpatterns/utils/qpatternistlocale_p.h | 4 |
1 files changed, 0 insertions, 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 |