diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-12-28 09:06:53 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-01-03 12:22:53 +0100 |
commit | 7c8126d9099841fd0ccf643d36b963a75161aab9 (patch) | |
tree | f760881bbbd3f3ff23d755a27ac612a4c9532d49 /tests/auto/corelib/kernel | |
parent | 591a35d6fd9fa4f14ca1ac6a568673e2a2da0f60 (diff) |
QTestData: fix streaming of u8 string literals in C++20 mode
...fixing tst_QLocale:
QDEBUG : tst_QLocale::formatDate() expected data of type 'QString', got 'char8_t [64]' for element 1 of data with tag 'unicode in format string'
QFATAL : tst_QLocale::formatDate() ASSERT: false in file /home/marc/Qt/qtbase/src/testlib/qtestdata.cpp, line 105
In C++20, the type of u8 string literals changed from const char[] to
const char8_t[].
[ChangeLog][QtTest][QTestData] Fixed streaming of u8 string literals
in C++20 mode.
Pick-to: 6.3 6.2 5.15
Task-number: QTBUG-99480
Task-number: QTBUG-99481
Change-Id: I53bd73522a4ebce307f360e225f25590f981d44a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/kernel')
0 files changed, 0 insertions, 0 deletions