diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-05-20 15:18:32 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-05-20 15:18:32 (GMT) |
commit | bdbe84f8a8dbb50873e26829ee8a5127e21a0161 (patch) | |
tree | b130bf5bee328d9a15eed687df16c3a413565e02 | |
parent | 1cad8c56002a61a6240e6580cdbd784209821fa6 (diff) | |
download | Qt-bdbe84f8a8dbb50873e26829ee8a5127e21a0161.zip Qt-bdbe84f8a8dbb50873e26829ee8a5127e21a0161.tar.gz Qt-bdbe84f8a8dbb50873e26829ee8a5127e21a0161.tar.bz2 |
Revert "QVariant has changed to use some QAtomic API which was missing"
This reverts commit 9afa9ce3c0423e773e88d5c586595353815ac341.
-rw-r--r-- | src/corelib/arch/qatomic_bootstrap.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/corelib/arch/qatomic_bootstrap.h b/src/corelib/arch/qatomic_bootstrap.h index af76903..7584b84 100644 --- a/src/corelib/arch/qatomic_bootstrap.h +++ b/src/corelib/arch/qatomic_bootstrap.h @@ -92,20 +92,6 @@ Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::testAndSetOrdered(T *expectedValu return false; } -template <typename T> -Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndStoreRelaxed(T *newValue) -{ - T *currentValue = _q_value; - _q_value = newValue; - return currentValue; -} - -template <typename T> -Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::testAndSetRelaxed(T *expectedValue, T *newValue) -{ - return testAndSetOrdered(expectedValue, newValue); -} - QT_END_NAMESPACE QT_END_HEADER |