summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusunixfiledescriptor.h
diff options
context:
space:
mode:
authorWolf-Michael Bolle <wolf-michael.bolle@nokia.com>2012-03-15 16:03:12 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-16 10:42:19 +0100
commit932fdbf4dd91da9de20fdb46d21058df6f7cb14f (patch)
treecc0f4fa1e38d96908a2b846dfc8c36112fff0def /src/dbus/qdbusunixfiledescriptor.h
parent4e5bfab52c65fd408209503e5512c35d44b4a82e (diff)
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>
Diffstat (limited to 'src/dbus/qdbusunixfiledescriptor.h')
-rw-r--r--src/dbus/qdbusunixfiledescriptor.h3
1 files changed, 0 insertions, 3 deletions
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<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