From 5a99e0ed90e0f53ef634b5776babc87a2a3397bf Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 21 Feb 2011 20:22:37 +0100 Subject: Remove the assignment-move operator that was a bad copy-paste Reviewed-By: Olivier Goffart --- src/corelib/tools/qshareddata.h | 2 -- 1 file changed, 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 &operator=(QExplicitlySharedDataPointer &&other) { qSwap(d, other.d); return *this; } - inline QExplicitlySharedDataPointer &operator=(QSharedDataPointer &&other) - { qSwap(d, other.d); return *this; } #endif inline bool operator!() const { return !d; } -- cgit v0.12