summaryrefslogtreecommitdiffstats
path: root/src
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-03 07:22:41 +0000
commit47cf309190a3cc833f935397fc0db7cfbcddbc44 (patch)
tree501101602b0b427dc3f186f6f33551e4b8dbfeea /src
parent46aecbd72b2e0630cc03bd51edf64179968902df (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>
Diffstat (limited to 'src')
-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 48dcc9eec0..93f157fdc5 100644
--- a/src/corelib/tools/qset.qdoc
+++ b/src/corelib/tools/qset.qdoc
@@ -530,7 +530,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