Build fix when use '-no-stl' option
authorYuchen Deng <loaden@gmail.com>
Thu, 1 Mar 2012 12:24:56 +0000 (20:24 +0800)
committerQt by Nokia <qt-info@nokia.com>
Thu, 8 Mar 2012 22:52:34 +0000 (23:52 +0100)
error C2039: 'move' : is not a member of 'std'
error C3861: 'move': identifier not found

Change-Id: I40beb59f893a8969275154664c947889eb570c95
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/mimetypes/qmimetype.cpp

index 4099487..a868129 100644 (file)
@@ -51,6 +51,8 @@
 #include <QtCore/QDebug>
 #include <QtCore/QLocale>
 
+#include <memory>
+
 QT_BEGIN_NAMESPACE
 
 bool qt_isQMimeTypeDebuggingActivated (false);