summaryrefslogtreecommitdiffstats
path: root/addon/doxyparse/doxyparse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'addon/doxyparse/doxyparse.cpp')
-rw-r--r--addon/doxyparse/doxyparse.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp
index 4235bf3..b5fbcb3 100644
--- a/addon/doxyparse/doxyparse.cpp
+++ b/addon/doxyparse/doxyparse.cpp
@@ -413,16 +413,11 @@ static void listSymbols() {
listMembers(ml);
}
- ClassSDict *classes = fd->getClassSDict();
- if (classes) {
- ClassDefSet visitedClasses;
- ClassSDict::Iterator cli(*classes);
- const ClassDef *cd;
- for (cli.toFirst(); (cd = cli.current()); ++cli) {
- if (visitedClasses.find(cd)==visitedClasses.end()) {
- classInformation(cd);
- visitedClasses.insert(cd);
- }
+ ClassDefSet visitedClasses;
+ for (const auto &cd : fd->getClasses()) {
+ if (visitedClasses.find(cd)==visitedClasses.end()) {
+ classInformation(cd);
+ visitedClasses.insert(cd);
}
}
}