diff options
Diffstat (limited to 'src/corelib/tools/qlist.cpp')
-rw-r--r-- | src/corelib/tools/qlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlist.cpp b/src/corelib/tools/qlist.cpp index 509afadfc2..8ed0da7ca0 100644 --- a/src/corelib/tools/qlist.cpp +++ b/src/corelib/tools/qlist.cpp @@ -378,7 +378,7 @@ void **QListData::erase(void **xi) references into a QVector and non-heap-allocating QLists. Internally, QList\<T\> is represented as an array of T if - If \c{sizeof(T) <= sizeof(void*)} and T has been declared to be + \c{sizeof(T) <= sizeof(void*)} and T has been declared to be either a \c{Q_MOVABLE_TYPE} or a \c{Q_PRIMITIVE_TYPE} using \l {Q_DECLARE_TYPEINFO}. Otherwise, QList\<T\> is represented as an array of T* and the items are allocated on the heap. |