diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-11-29 12:45:16 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-11-29 20:03:06 +0000 |
commit | 39473f92101204f5db1e3e06938105bba649a5e6 (patch) | |
tree | baded9abeb9aa682d0fb44cf454021866aed9506 /src/plugins/platforms/wasm/qwasmintegration.cpp | |
parent | 391e21d23ddb2e8e93d70261614be36835d518a2 (diff) |
Make XmlStringRef convertible to QAnyStringView/QStringView
Both QStringView and QAnyStringView implicitly convert from any
container with a fitting value_type, and working std::data, std::size,
std::begin and std::end.
Add these missing operations (and complementary ones) to XmlStringRef,
so it implicitly converts to QStringView and QAnyStringView, too.
Add a check to that effect and remove the now-superfluous operator
QStringView().
Task-number: QTBUG-103302
Change-Id: I89d586cf64447a82022e06d546d7ee8339fc6dc7
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.cpp')
0 files changed, 0 insertions, 0 deletions