diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-02-27 10:01:00 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-03-14 10:36:56 +0100 |
commit | e87768a8806ee6e79ceff2ce8cea133879ef9195 (patch) | |
tree | 94c6e647c1fd16e04b567500db38b12e44e1c139 /src/corelib/tools/qcontainerfwd.h | |
parent | f9a154e07f74199ba856ab7b0f7309a4ff93afe0 (diff) |
Use qsizetype for size related methods in QVarlengthArray
Change-Id: Ib94b9a4e6e17da21f592e71a36fd1b97d42dfe62
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/tools/qcontainerfwd.h')
-rw-r--r-- | src/corelib/tools/qcontainerfwd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qcontainerfwd.h b/src/corelib/tools/qcontainerfwd.h index 0ace4473ec..bdf9e0dcc0 100644 --- a/src/corelib/tools/qcontainerfwd.h +++ b/src/corelib/tools/qcontainerfwd.h @@ -54,7 +54,7 @@ template <class T1, class T2> struct QPair; template <class T> class QQueue; template <class T> class QSet; template <class T> class QStack; -template<class T, int Prealloc = 256> class QVarLengthArray; +template<class T, qsizetype Prealloc = 256> class QVarLengthArray; template <class T> class QVector; template<typename T> using QList = QVector<T>; |