From 932fdbf4dd91da9de20fdb46d21058df6f7cb14f Mon Sep 17 00:00:00 2001 From: Wolf-Michael Bolle Date: Thu, 15 Mar 2012 16:03:12 +0100 Subject: 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 Reviewed-by: Thiago Macieira --- src/dbus/qdbusunixfiledescriptor.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/dbus') diff --git a/src/dbus/qdbusunixfiledescriptor.h b/src/dbus/qdbusunixfiledescriptor.h index ad5d00ba0b..bfb2262a31 100644 --- a/src/dbus/qdbusunixfiledescriptor.h +++ b/src/dbus/qdbusunixfiledescriptor.h @@ -58,7 +58,6 @@ QT_BEGIN_NAMESPACE class QDBusUnixFileDescriptorPrivate; -template<> QExplicitlySharedDataPointer::~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(other.d)) - { } inline QDBusUnixFileDescriptor &operator=(QDBusUnixFileDescriptor &&other) { d.swap(other.d); return *this; } #endif -- cgit v1.2.3