From 573d8b838bf51c2758e16fa98252c4acdf7874ff Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Fri, 28 Oct 2011 20:10:32 +0200 Subject: Tentatively keep operator=(const QAtomic* &other) QAtomic* has a copy constructor, so it may make sense to allow assignment of one atomic variable to another. Change-Id: Ic754d13765080e2fcd13dc583940e354ad4404cd Reviewed-by: Friedemann Kleint Reviewed-by: Bradley T. Hughes Reviewed-by: Thiago Macieira --- src/corelib/thread/qatomic.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/corelib/thread') diff --git a/src/corelib/thread/qatomic.h b/src/corelib/thread/qatomic.h index 14c328a6a6..34b9011575 100644 --- a/src/corelib/thread/qatomic.h +++ b/src/corelib/thread/qatomic.h @@ -85,7 +85,6 @@ public: return *this; } - Q_DECL_DEPRECATED inline QAtomicInt &operator=(const QAtomicInt &other) { this->store(other.load()); @@ -176,7 +175,6 @@ public: return *this; } - Q_DECL_DEPRECATED inline QAtomicPointer &operator=(const QAtomicPointer &other) { this->store(other.load()); -- cgit v1.2.3