From d1d9caf12d103957dccc867c349c4514a28cfe6c Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Fri, 9 Jul 2021 18:35:58 +0200 Subject: QMultiMap::erase - extend docs to specify iterator limitations Task-number: QTBUG-91736 Pick-to: 6.2 6.1 Change-Id: I7cd58e010af5dd59404e37c55f6ebd91c4631b3f Reviewed-by: Andrei Golubev Reviewed-by: Edward Welbourne --- src/corelib/tools/qmultimap.qdoc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/corelib') diff --git a/src/corelib/tools/qmultimap.qdoc b/src/corelib/tools/qmultimap.qdoc index a57708b261..913d4155d7 100644 --- a/src/corelib/tools/qmultimap.qdoc +++ b/src/corelib/tools/qmultimap.qdoc @@ -699,6 +699,8 @@ from the multi map, and returns an iterator to the next item in the map. + \note The iterator \a pos must be valid and dereferenceable. + \sa remove() */ @@ -710,6 +712,8 @@ Returns an iterator to the item in the multi map following the last removed element. + \note The range \c {[first, last)} \e must be a valid range in \c {*this}. + \sa remove() */ -- cgit v1.2.3