summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-05-02 17:55:11 +0200
committerMarc Mutz <marc.mutz@kdab.com>2017-05-04 15:43:41 +0000
commit43493ff5cf96c4528d12541531983fc21b55a3d2 (patch)
treeb6ed7269cd204b169d705e247922c14d97c4bf6a
parent38025d875480fee915dad83760629326d6e1fad0 (diff)
[doc] QSet: fix return type of insert()
It's an iterator, not a const_iterator. Let QDoc figure out the correct one. Change-Id: I7ddd1568adbf811b801c170794465ba14ceed05e Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 47cf309190a3cc833f935397fc0db7cfbcddbc44) Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/corelib/tools/qset.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qset.qdoc b/src/corelib/tools/qset.qdoc
index 542def4651..f662694332 100644
--- a/src/corelib/tools/qset.qdoc
+++ b/src/corelib/tools/qset.qdoc
@@ -524,7 +524,7 @@
*/
/*!
- \fn QSet::const_iterator QSet::insert(const T &value)
+ \fn QSet::insert(const T &value)
Inserts item \a value into the set, if \a value isn't already
in the set, and returns an iterator pointing at the inserted