summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-11-10 17:34:00 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2015-11-13 15:05:06 +0000
commit1de3fe0f9bb029b8a742fab678a1bd09dfab586d (patch)
treefd5bbaeb1d017546bf1018f0576cd718295238a2 /src/corelib
parent6f84d50457ad6c8864e776fc722895458350c2e1 (diff)
Docs: Add a note clarifying that Q_MOVABLE_TYPE is not about move semantics
Change-Id: Ib1fb9ac00c0437ed2312c46e3e97d7ece05ba8e8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qglobal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index ed8a9163d4..81925642f8 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -3837,7 +3837,8 @@ int qrand()
independent copy of the object.
\li \c Q_MOVABLE_TYPE specifies that \a Type has a constructor
and/or a destructor but can be moved in memory using \c
- memcpy().
+ memcpy(). Note: despite the name, this has nothing to do with move
+ constructors or C++ move semantics.
\li \c Q_COMPLEX_TYPE (the default) specifies that \a Type has
constructors and/or a destructor and that it may not be moved
in memory.