diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-10-28 20:48:29 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-11-04 11:21:16 +0100 |
commit | e5f80c1b0310412993e781691f39aa2b25e404fb (patch) | |
tree | a9939b7316d75f2a99efe03e7356d252bccf2907 /src | |
parent | 7eed57511a786861b513af089aef48651fed7891 (diff) |
Remove unused parameter
Change-Id: Idceb7ee3ce752b62ed6800b0a1004832a4c48af7
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/tools/qlist.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/tools/qlist.h b/src/corelib/tools/qlist.h index 15c2e53e1d..6fdc5b19c4 100644 --- a/src/corelib/tools/qlist.h +++ b/src/corelib/tools/qlist.h @@ -140,7 +140,7 @@ public: #endif private: - void resize_internal(qsizetype i, Qt::Initialization); + void resize_internal(qsizetype i); bool isValidIterator(const_iterator i) const { const std::less<const T*> less = {}; @@ -263,13 +263,13 @@ public: void resize(qsizetype size) { - resize_internal(size, Qt::Uninitialized); + resize_internal(size); if (size > this->size()) d->appendInitialize(size); } void resize(qsizetype size, parameter_type c) { - resize_internal(size, Qt::Uninitialized); + resize_internal(size); if (size > this->size()) d->copyAppend(size - this->size(), c); } @@ -571,7 +571,7 @@ QList(InputIterator, InputIterator) -> QList<ValueType>; #endif template <typename T> -inline void QList<T>::resize_internal(qsizetype newSize, Qt::Initialization) +inline void QList<T>::resize_internal(qsizetype newSize) { Q_ASSERT(newSize >= 0); |