Removed move constructor.
The provided implementation breaks backward compatiblity, and therefore has to disappear altogether. See also the discussion at http://codereview.qt-project.org/#change,19150 Change-Id: Idf6e4a2c4b623458217541485e4aab0837909d66 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
4e5bfab52c
commit
932fdbf4dd
|
|
@ -58,7 +58,6 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
|
||||
class QDBusUnixFileDescriptorPrivate;
|
||||
template<> QExplicitlySharedDataPointer<QDBusUnixFileDescriptorPrivate>::~QExplicitlySharedDataPointer();
|
||||
|
||||
class Q_DBUS_EXPORT QDBusUnixFileDescriptor
|
||||
{
|
||||
|
|
@ -80,8 +79,6 @@ public:
|
|||
static bool isSupported();
|
||||
|
||||
#if defined(Q_COMPILER_RVALUE_REFS)
|
||||
QDBusUnixFileDescriptor(QDBusUnixFileDescriptor &&other) : d(static_cast<Data &&>(other.d))
|
||||
{ }
|
||||
inline QDBusUnixFileDescriptor &operator=(QDBusUnixFileDescriptor &&other)
|
||||
{ d.swap(other.d); return *this; }
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue