From c111b6b7b1b062340a063a18ab8567be51f40382 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 3 Sep 2021 16:57:36 +0200 Subject: [PATCH] Doc: fix qdoc warning, function prototype missed return type Also missed the second set of template parameters. Change-Id: I81ab09ed77af79415ee72334db900bdb94db5739 Reviewed-by: Paul Wicking --- src/corelib/tools/qvarlengtharray.qdoc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/corelib/tools/qvarlengtharray.qdoc b/src/corelib/tools/qvarlengtharray.qdoc index 827f6ed165c..0ba939ab60b 100644 --- a/src/corelib/tools/qvarlengtharray.qdoc +++ b/src/corelib/tools/qvarlengtharray.qdoc @@ -759,19 +759,18 @@ */ /*! - \fn template QVarLengthArray::emplace(const_iterator before, Args &&...args); + \fn template template QVarLengthArray::iterator QVarLengthArray::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 QVarLengthArray::emplace_back(Args &&...args); - + \fn template template T &QVarLengthArray::emplace_back(Args &&...args) \since 6.3 Inserts an item at the back of this QVarLengthArray, passing