summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-05-10 11:55:33 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-05-10 11:55:33 (GMT)
commitab7595c96e83af7ddfa00ff81598afcb88a724a3 (patch)
tree01c9bdc992c66ddd683fe6d0998167eac74cb4e2 /src/xmlgen.cpp
parente24bad3c5d841435f42bd3ff7a39bdf551471c34 (diff)
parent8b2d00106d564068ad58d2f51bef155a4d0e982e (diff)
downloadDoxygen-ab7595c96e83af7ddfa00ff81598afcb88a724a3.zip
Doxygen-ab7595c96e83af7ddfa00ff81598afcb88a724a3.tar.gz
Doxygen-ab7595c96e83af7ddfa00ff81598afcb88a724a3.tar.bz2
Merge branch 'feature/change-DirList-container-to-std' of https://github.com/dhebbeker/doxygen into dhebbeker-feature/change-DirList-container-to-std
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 2424853..3a649e9 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -1207,9 +1207,7 @@ static void writeInnerDirs(const DirList *dl,FTextStream &t)
{
if (dl)
{
- QListIterator<DirDef> subdirs(*dl);
- DirDef *subdir;
- for (subdirs.toFirst();(subdir=subdirs.current());++subdirs)
+ for(const auto subdir : *dl)
{
t << " <innerdir refid=\"" << subdir->getOutputFileBase()
<< "\">" << convertToXML(subdir->displayName()) << "</innerdir>" << endl;