summaryrefslogtreecommitdiffstats
path: root/src/sql/models/qsqlrelationaltablemodel.h
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-07-01 22:37:10 +0200
committerMarc Mutz <[email protected]>2025-07-02 22:33:31 +0000
commit0a4e5840a59cacbaedb8af058725fdc1804e5887 (patch)
tree2e0367f1b4bc8187c1c2c7234e3280ae8dc55acc /src/sql/models/qsqlrelationaltablemodel.h
parentd4757de5de3e151d129e8d272ad3b3d27172cfde (diff)
QtTest LoggerRegistry: fix UB (default-constructed std::atomic)HEADdev
Up to C++17 inclusive, a default-constructed std::atomic object can only be initialized using std::atomic_init(), _not_ by .store(). While __cpp_lib_atomic_shared_ptr is a C++20 feature, when std::atomic default construction has been fixed, compilers may implement these feature in any order, and it's not much work to call the std::atomic<T>(T) ctor in NSDMI instead of the default constructor, so do that. Amends a0303cc7c590ff17fb5b0a5975bff98669e42942. Pick-to: 6.10 6.9 6.8 Change-Id: Id3148db0049ee4e16509c2bfd78c9f9ee145f269 Reviewed-by: David Faure <[email protected]>
Diffstat (limited to 'src/sql/models/qsqlrelationaltablemodel.h')
0 files changed, 0 insertions, 0 deletions