diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-12-02 19:39:36 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-30 18:06:23 +0100 |
commit | fd0d576709fff48bc23444b3a30a86e92c625101 (patch) | |
tree | e3041b952aad7d02f5c23b1201cf8c1a5f767094 /src/corelib/arch/qatomic_unix.h | |
parent | 8d2a9bcf1d22c3e48ff9dc7d8aaac9d4fcac0c64 (diff) |
Centralize support for QBasicAtomic for ints and longs
No need to redefine everywhere, since they're required to be supported.
Change-Id: I2bdbbd0b0c44871e3bd0edcf0289fc58dd50ff31
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/corelib/arch/qatomic_unix.h')
-rw-r--r-- | src/corelib/arch/qatomic_unix.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/arch/qatomic_unix.h b/src/corelib/arch/qatomic_unix.h index 017adabbe2..493927fac0 100644 --- a/src/corelib/arch/qatomic_unix.h +++ b/src/corelib/arch/qatomic_unix.h @@ -74,8 +74,6 @@ QT_END_NAMESPACE #define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_NOT_NATIVE #define Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_NOT_NATIVE -template<> struct QAtomicIntegerTraits<int> { enum { IsInteger = 1 }; }; -template<> struct QAtomicIntegerTraits<unsigned> { enum { IsInteger = 1 }; }; template<> struct QAtomicIntegerTraits<long long> { enum { IsInteger = 1 }; }; template<> struct QAtomicIntegerTraits<unsigned long long> { enum { IsInteger = 1 }; }; |