5a44baba5140af488c7fffebe9e544b72eda6012
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)
…
…
Description
No description provided
355 MiB
Languages
C++
83.9%
HTML
5%
C
3.9%
CMake
3.5%
Objective-C++
2%
Other
1.1%