summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-05-20 15:18:32 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-05-20 15:18:32 (GMT)
commitbdbe84f8a8dbb50873e26829ee8a5127e21a0161 (patch)
treeb130bf5bee328d9a15eed687df16c3a413565e02
parent1cad8c56002a61a6240e6580cdbd784209821fa6 (diff)
downloadQt-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.h14
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