Remove unused parameter

Change-Id: Idceb7ee3ce752b62ed6800b0a1004832a4c48af7
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Lars Knoll 2020-10-28 20:48:29 +01:00
parent 7eed57511a
commit e5f80c1b03
1 changed files with 4 additions and 4 deletions

View File

@ -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);