diff options
Diffstat (limited to 'src/corelib/text/qstringliteral.h')
-rw-r--r-- | src/corelib/text/qstringliteral.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qstringliteral.h b/src/corelib/text/qstringliteral.h index 0968a9531a..a44787c7a4 100644 --- a/src/corelib/text/qstringliteral.h +++ b/src/corelib/text/qstringliteral.h @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE typedef char16_t qunicodechar; -Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, +static_assert(sizeof(qunicodechar) == 2, "qunicodechar must typedef an integral type of size 2"); #define QT_UNICODE_LITERAL(str) u"" str |