diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-11-27 12:00:30 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-11-28 09:48:25 +0100 |
| commit | b923d316f2e103647dbd63165901b87dba392040 (patch) | |
| tree | 04f4beec542d4546e9f4827b74a0801dae3a566b /doc/src/snippets/textdocument-listitemstyles/main.cpp | |
| parent | b23b9c82653308bf8c85c97f9da2736bf2f5443a (diff) | |
tst_QString: make an array constexpr and init from char16_t
This re-applies to dev the relevant changes from the 6.5/6.8 picks of
7bf27b88eafbc54762cdeb28c9202bb7e080b308, which this patch amends.
In those older branches, fromRawData() wasn't overloaded for char16_t,
yet, and, changing to use a QChar array instead, I had to change the
initializer to char16_t literals and added constexpr to guaranteee
constant-initialization.
Since these changes are already in 6.5 and 6.8, it suffices to pick to
6.10.
Pick-to: 6.10
Change-Id: Ib5da4c7a61c34d1db7be8f8fb4c6e197d4fc42fe
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'doc/src/snippets/textdocument-listitemstyles/main.cpp')
0 files changed, 0 insertions, 0 deletions
