diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-05-19 10:38:48 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-05-20 18:07:39 +0000 |
commit | 402ce8f266de19fdc4954db504debbb761159754 (patch) | |
tree | a8399ebe4c837e95ad4b4b04f6b298594538f72c /src/platformheaders/doc/qtplatformheaders.qdocconf | |
parent | 562f1387cbb4584fdf22753d3abb226c8a918b80 (diff) |
QKeySequence: fix dynamic initialization of shared_empty
The QKeySequencePrivate default constructor wasn't constexpr, so
shared_empty was not constinit'able. To make the constructor
constexpr in C++17 as well as C++20, needed to replace the fill_n()
on the key member with Uniform Initialization.
Found by attempting to apply C++20 constinit to its definition.
Pick-to: 6.3 6.2
Change-Id: I2941e96348eb969029da2f0f7231079967bba996
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/platformheaders/doc/qtplatformheaders.qdocconf')
0 files changed, 0 insertions, 0 deletions