summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qshareddata.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-21 19:22:37 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-02-21 19:42:54 (GMT)
commit5a99e0ed90e0f53ef634b5776babc87a2a3397bf (patch)
tree4383dfe4a137cb4de700ce03f268cac266f991e1 /src/corelib/tools/qshareddata.h
parent21f53fc1570996d8f84709c14a25ac428484f19e (diff)
downloadQt-5a99e0ed90e0f53ef634b5776babc87a2a3397bf.zip
Qt-5a99e0ed90e0f53ef634b5776babc87a2a3397bf.tar.gz
Qt-5a99e0ed90e0f53ef634b5776babc87a2a3397bf.tar.bz2
Remove the assignment-move operator that was a bad copy-paste
Reviewed-By: Olivier Goffart
Diffstat (limited to 'src/corelib/tools/qshareddata.h')
-rw-r--r--src/corelib/tools/qshareddata.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/tools/qshareddata.h b/src/corelib/tools/qshareddata.h
index 2b97d2d..1494373 100644
--- a/src/corelib/tools/qshareddata.h
+++ b/src/corelib/tools/qshareddata.h
@@ -201,8 +201,6 @@ public:
inline QExplicitlySharedDataPointer(QExplicitlySharedDataPointer &&o) : d(o.d) { o.d = 0; }
inline QExplicitlySharedDataPointer<T> &operator=(QExplicitlySharedDataPointer<T> &&other)
{ qSwap(d, other.d); return *this; }
- inline QExplicitlySharedDataPointer &operator=(QSharedDataPointer<T> &&other)
- { qSwap(d, other.d); return *this; }
#endif
inline bool operator!() const { return !d; }