summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qatomic.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/src/corelib/thread/qatomic.h b/src/corelib/thread/qatomic.h
index 34b9011575..eff2182e28 100644
--- a/src/corelib/thread/qatomic.h
+++ b/src/corelib/thread/qatomic.h
@@ -78,43 +78,12 @@ public:
store(other.load());
}
- Q_DECL_DEPRECATED
- inline QAtomicInt &operator=(int value)
- {
- this->store(value);
- return *this;
- }
-
inline QAtomicInt &operator=(const QAtomicInt &other)
{
this->store(other.load());
return *this;
}
- Q_DECL_DEPRECATED
- inline bool operator==(int value) const
- {
- return this->load() == value;
- }
-
- Q_DECL_DEPRECATED
- inline bool operator!=(int value) const
- {
- return this->load() != value;
- }
-
- Q_DECL_DEPRECATED
- inline operator int() const
- {
- return this->load();
- }
-
- Q_DECL_DEPRECATED
- inline bool operator!() const
- {
- return !this->load();
- }
-
#ifdef qdoc
static bool isReferenceCountingNative();
static bool isReferenceCountingWaitFree();
@@ -168,49 +137,12 @@ public:
this->store(other.load());
}
- Q_DECL_DEPRECATED
- inline QAtomicPointer<T> &operator=(T *value)
- {
- this->store(value);
- return *this;
- }
-
inline QAtomicPointer<T> &operator=(const QAtomicPointer<T> &other)
{
this->store(other.load());
return *this;
}
- Q_DECL_DEPRECATED
- inline bool operator==(T *value) const
- {
- return this->load() == value;
- }
-
- Q_DECL_DEPRECATED
- inline bool operator!=(T *value) const
- {
- return this->load() != value;
- }
-
- Q_DECL_DEPRECATED
- inline bool operator!() const
- {
- return !this->load();
- }
-
- Q_DECL_DEPRECATED
- inline operator T *() const
- {
- return this->load();
- }
-
- Q_DECL_DEPRECATED
- inline T *operator->() const
- {
- return this->load();
- }
-
#ifdef qdoc
static bool isTestAndSetNative();
static bool isTestAndSetWaitFree();