summaryrefslogtreecommitdiffstats
path: root/src/corelib/mimetypes/qmimetype.h
diff options
context:
space:
mode:
authorWolf-Michael Bolle <wolf-michael.bolle@nokia.com>2012-03-15 15:56:14 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-16 10:42:40 +0100
commit389f2a076d3321c285fb9652177ccb3367019e51 (patch)
tree5b8f744083a4e272ee6230c882adb8c340c8b94c /src/corelib/mimetypes/qmimetype.h
parent932fdbf4dd91da9de20fdb46d21058df6f7cb14f (diff)
Removed move constructor.
All C++-2011-specific constructors, operators and methods may be inline only in Qt. Since an implementation in the header file does not seem to be possible for QMimeType without breaking backward compatiblity the move constructor has to disappear altogether. See also the discussion at http://codereview.qt-project.org/#change,19150 Change-Id: If07347a51a1ae5bd4c2d292dac835592ede4b370 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/mimetypes/qmimetype.h')
-rw-r--r--src/corelib/mimetypes/qmimetype.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/mimetypes/qmimetype.h b/src/corelib/mimetypes/qmimetype.h
index 68d17caaba..172973e77a 100644
--- a/src/corelib/mimetypes/qmimetype.h
+++ b/src/corelib/mimetypes/qmimetype.h
@@ -59,8 +59,6 @@ public:
QMimeType(const QMimeType &other);
QMimeType &operator=(const QMimeType &other);
#ifdef Q_COMPILER_RVALUE_REFS
- QMimeType(QMimeType &&other);
-
QMimeType &operator=(QMimeType &&other)
{
qSwap(d, other.d);