Neither atomic::load() nor store() are contstexpr in the standard. The only reason this code compiled is because QASVR is a class template, so contexpr tags that can't be fulfilled are silently dropped at instantiation time by the compiler. Remove the tag to avoid giving readers the wrong idea. Reported-by: Thiago Macieira <thiago.macieira@intel.com> Change-Id: I6f23ab9fb2e8ceecaa45ffaef1fadbc7de266803 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit c1f1523047b2e005fb7442847c2aa000faa7d0ac) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%