diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2020-05-06 13:58:12 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2020-05-07 15:28:26 +0200 |
| commit | d124eeb00c3bd82ddbd44b7749d816313292815c (patch) | |
| tree | a6819d692d48dad9b13f1a84590b60160ee9574f /src/sql/doc/snippets/snippets.pro | |
| parent | 1eaf7fd5444f832c9ea820f8087efdd3ac86258f (diff) | |
Port qt_string_count() to QStringView
It was not using QStringView API, but immediately dropped to bare
metal operations (reinterpret_cast, ushort), subjecting itself to
ushort -> char16_t issues.
The new formulation avoids low-level primitives.
Change-Id: I8e75c7ea7409b133ff43bf5c829aa1f8f7503f11
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/snippets.pro')
0 files changed, 0 insertions, 0 deletions
