diff options
Diffstat (limited to 'src/corelib/text/qlocale_tools.cpp')
-rw-r--r-- | src/corelib/text/qlocale_tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qlocale_tools.cpp b/src/corelib/text/qlocale_tools.cpp index 9adb6e4a23..a1838add72 100644 --- a/src/corelib/text/qlocale_tools.cpp +++ b/src/corelib/text/qlocale_tools.cpp @@ -433,7 +433,7 @@ QString qulltoa(qulonglong number, int base, const QStringView zero) // Length of MAX_ULLONG in base 2 is 64; and we may need a surrogate pair // per digit. We do not need a terminator. const unsigned maxlen = 128; - Q_STATIC_ASSERT(CHAR_BIT * sizeof(number) <= maxlen); + static_assert(CHAR_BIT * sizeof(number) <= maxlen); ushort buff[maxlen]; ushort *const end = buff + maxlen, *p = end; |