diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-11-17 13:24:46 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-11-17 21:28:11 +0100 |
commit | 34304e3100883187ca658b8c983af21549496b43 (patch) | |
tree | 5c2e8216740e4ad4e9efc6010539c3a6cfbbbf8e /src/corelib/text | |
parent | 1e9dc3ec2f254c711149f8c0376f0403df9b4650 (diff) |
Get rid of Q_COMPILER_CONSTEXPR checks
Is required now.
Change-Id: I62e95929d1649ea1390392230b619bd56d2a0349
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/text')
-rw-r--r-- | src/corelib/text/qlocale_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/text/qlocale_p.h b/src/corelib/text/qlocale_p.h index aad344eccc..69b6136313 100644 --- a/src/corelib/text/qlocale_p.h +++ b/src/corelib/text/qlocale_p.h @@ -504,7 +504,6 @@ constexpr inline bool ascii_isspace(uchar c) return c >= 1u && c <= 32u && (AsciiSpaceMask >> uint(c - 1)) & 1u; } -#if defined(Q_COMPILER_CONSTEXPR) static_assert(ascii_isspace(' ')); static_assert(ascii_isspace('\t')); static_assert(ascii_isspace('\n')); @@ -518,7 +517,6 @@ static_assert(!ascii_isspace('\177')); static_assert(!ascii_isspace(uchar('\200'))); static_assert(!ascii_isspace(uchar('\xA0'))); static_assert(!ascii_isspace(uchar('\377'))); -#endif QT_END_NAMESPACE |