Marc MutzandQt Cherry-pick Bot 5a44baba51 QObjectPrivate::ConnectionData: fix UB (default-constructed std::atomic)
Up to C++17 inclusive, a default-constructed std::atomic object can
only be initialized using std::atomic_init(), _not_ by .store().

While it's probably not a problem in practice, it's also not much work
to call the std::atomic<T>(T) ctor instead of the default constructor,
so do that.

Amends 0cab9b56e9.

Change-Id: Iece5ee724809ce7b5e698871dbc65e14a5d21330
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 091d095c844c30212657a23c8324adb8745408ba)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit bdce476ab847f9302fa34e660fb99e3541c314e4)
(cherry picked from commit ec1b3b124b348ce58cb89905e73222daaf3fc425)
2025-07-03 11:23:05 +00:00
2024-11-07 08:38:49 +01:00
2025-07-02 08:37:17 +00:00
2025-04-29 21:08:00 +03:00
2025-03-25 12:39:21 +00:00
S
Description
No description provided
355 MiB
Languages
C++ 83.9%
HTML 5%
C 3.9%
CMake 3.5%
Objective-C++ 2%
Other 1.1%