Skip to content

Commit

Permalink
Doc: fix qdoc warning, function prototype missed return type
Browse files Browse the repository at this point in the history
Also missed the second set of template parameters.

Change-Id: I81ab09ed77af79415ee72334db900bdb94db5739
Reviewed-by: Paul Wicking <[email protected]>
  • Loading branch information
vohi committed Sep 5, 2021
1 parent 5f3df6e commit c111b6b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/corelib/tools/qvarlengtharray.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c111b6b

Please sign in to comment.