diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2020-03-11 09:41:56 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2020-03-12 09:44:59 +0100 |
| commit | 12b4ce72815fc1ea272da729eeb3713a9d5a4089 (patch) | |
| tree | 1648741de8b0146a59d3440274200b5784630354 /src/network/access/qnetworkreply.cpp | |
| parent | 0ae6803d3956cf59801bbcc52143b95de9fc96d1 (diff) | |
QStringView: adapt to C++20 constexpr std::basic_string
Just mark the constructor constexpr. If std::basic_string isn't, then this
will be silently dropped. If std::basic_string is, we can now construct
QStringView from std::basic_strings at compile-time.
[ChangeLog][QtCore][QStringView] Conversion from std::basic_string can now
be constexpr (when std::basic_string is).
Change-Id: Ia608f1a71c9a24f417b3e21e150ff6bd3d2f4fc4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreply.cpp')
0 files changed, 0 insertions, 0 deletions
