summaryrefslogtreecommitdiffstats
path: root/src/qdoc/webxmlgenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/webxmlgenerator.cpp')
-rw-r--r--src/qdoc/webxmlgenerator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qdoc/webxmlgenerator.cpp b/src/qdoc/webxmlgenerator.cpp
index 4b649820f..54373815a 100644
--- a/src/qdoc/webxmlgenerator.cpp
+++ b/src/qdoc/webxmlgenerator.cpp
@@ -817,8 +817,7 @@ void WebXMLGenerator::generateRelations(QXmlStreamWriter &writer, const Node *no
QPair<QString, QString> anchorPair;
const Node *linkNode;
- for (QMap<Node::LinkType, QPair<QString, QString> >::const_iterator it =
- node->links().cbegin(), end = node->links().cend(); it != end; ++it) {
+ for (auto it = node->links().cbegin(); it != node->links().cend(); ++it) {
linkNode = qdb_->findNodeForTarget(it.value().first, node);