diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2016-02-24 14:28:17 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2016-07-13 21:15:30 +0000 |
commit | aca0e367be9cdc3b48f09200f4eadbcfe5a574c8 (patch) | |
tree | c98ec562b385f89b469ca3fd882d2c4b4b4e89f0 /mkspecs | |
parent | 5c46d07a7ce1542301b6e428f9f8d07738e7518f (diff) |
Fix the Q_ATOMIC_xxx_IS_www_NATIVE macros with C++11
When I introduced this code in Qt 5.0, I made INT and POINTER be
SOMETIMES_NATIVE, but then later I made the specific sizes be
ALWAYS_NATIVE. That doesn't make sense.
Instead, use the macros from the C++11 <atomic> header.
Note that the member isXxxxNative() functions should not have been
constexpr. That's a defect I introduced in Qt 5.0.
Task-number: QTBUG-51315
Change-Id: I0c94a5c2846b48c8aea7ffff1436013e8686c153
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions