Doc: fix qdoc warning, function prototype missed return type

Also missed the second set of template parameters.

Change-Id: I81ab09ed77af79415ee72334db900bdb94db5739
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Volker Hilsheimer 2021-09-03 16:57:36 +02:00
parent 5f3df6e1c7
commit c111b6b7b1

View File

@ -759,19 +759,18 @@
*/
/*!
\fn template <class T, qsizetype Prealloc> QVarLengthArray<T, Prealloc>::emplace(const_iterator before, Args &&...args);
\fn template <class T, qsizetype Prealloc> template <typename...Args> QVarLengthArray<T, Prealloc>::iterator QVarLengthArray<T, Prealloc>::emplace(const_iterator pos, Args &&...args)
\since 6.3
Inserts an item in front of the item pointed to by the iterator
\a before, passing \a args to its constructor.
\a pos, passing \a args to its constructor.
Returns an iterator pointing at the emplaced item.
*/
/*!
\fn template <class T, qsizetype Prealloc> QVarLengthArray<T, Prealloc>::emplace_back(Args &&...args);
\fn template <class T, qsizetype Prealloc> template <typename...Args> T &QVarLengthArray<T, Prealloc>::emplace_back(Args &&...args)
\since 6.3
Inserts an item at the back of this QVarLengthArray, passing