diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-01-19 15:53:16 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-01-23 15:51:55 +0100 |
| commit | 01ef951c6570afcebc73c363be039a4d62e07679 (patch) | |
| tree | 10e95bf1cc14e4e4e438e7592d84e55d1fb34624 /src/sql/doc/snippets/sqldatabase | |
| parent | 11891ae9c9fcf7cb911648675eca83f3189ccbed (diff) | |
QString: port toUcs4_helper() to char16_t/char32_t
This gets rid of 50% of the casts required to call the function, and
removes the last QtCore QStringView(ushort*) user.
As a drive-by, replace an (allowed, but) fishy &str[0] with
str.data(), the mutable overload of which has been available since
C++17.
Task-number: QTBUG-110403
Change-Id: Iad494025b61c53d991e59cc73198bb014a422a93
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions
