summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qvector.qdoc
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-16 12:38:23 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-18 06:32:32 +0000
commit1c8f7082f70af934ddc46b9687a88e02233e1082 (patch)
tree1fc1d794839e8a74121eee25385bb5e65c6cb0ef /src/corelib/tools/qvector.qdoc
parent8b9b3e2f29e06106ac6b3bc4cc60bc0a13ec0083 (diff)
doc: Add missing return types to \fn commands, fix mis-specified ones
This update corrects several qdoc warnings about undocumented parameters, which are actually caused when the return type is not included in the \fn command, or when the return type is mis-specified (includes static, or lacks needed template parameters). Change-Id: Ic49139b88424e93609fbd01bc0836436d13a8f9a Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qvector.qdoc')
-rw-r--r--src/corelib/tools/qvector.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qvector.qdoc b/src/corelib/tools/qvector.qdoc
index 1068de76d5..089aaec3fd 100644
--- a/src/corelib/tools/qvector.qdoc
+++ b/src/corelib/tools/qvector.qdoc
@@ -795,7 +795,7 @@
*/
-/*! \fn template <typename T> QVector &QVector<T>::fill(const T &value, int size = -1)
+/*! \fn template <typename T> QVector<T> &QVector<T>::fill(const T &value, int size = -1)
Assigns \a value to all items in the vector. If \a size is
different from -1 (the default), the vector is resized to size \a