diff options
| author | Sérgio Martins <[email protected]> | 2015-05-10 12:26:47 +0100 |
|---|---|---|
| committer | Sérgio Martins <[email protected]> | 2015-06-02 19:41:16 +0000 |
| commit | f44a59f390be9b67365db8796aa6a54fe9241028 (patch) | |
| tree | bb860d3bfe9771928a654e9c7f6809f4e1c4129c /src/tools/qdoc/puredocparser.cpp | |
| parent | cd0bed6d7189fe338043e5dbdf5e8b110da7b06f (diff) | |
Don't assign iterator to const_iterator
It should also be possible to use QT_STRICT_ITERATORS in Qt's own code base
Change-Id: I0914db480d4d2b06e71e3a2588163efdd3ff6d27
Reviewed-by: Marc Mutz <[email protected]>
Reviewed-by: Olivier Goffart (Woboq GmbH) <[email protected]>
Diffstat (limited to 'src/tools/qdoc/puredocparser.cpp')
| -rw-r--r-- | src/tools/qdoc/puredocparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qdoc/puredocparser.cpp b/src/tools/qdoc/puredocparser.cpp index 7029431460f..e47460efb23 100644 --- a/src/tools/qdoc/puredocparser.cpp +++ b/src/tools/qdoc/puredocparser.cpp @@ -188,8 +188,8 @@ bool PureDocParser::processQdocComments() topics.insert(i+1,"and"); doc.location().warning(tr("Multiple topic commands found in comment: %1").arg(topics)); } - ArgList::ConstIterator a = args.begin(); - while (a != args.end()) { + ArgList::ConstIterator a = args.cbegin(); + while (a != args.cend()) { Doc nodeDoc = doc; Node* node = processTopicCommand(nodeDoc,topic,*a); if (node != 0) { |
