summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-11-21 15:46:33 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-11-21 15:46:33 (GMT)
commit1611bc8f2488a705c3845fbc12ea4e95c69f07b3 (patch)
tree3823bcd1d51e36c7ed8532a57ba5f792a59cdc23 /addon
parentee3c650df832eb7d7eb5a64423ee799d96404741 (diff)
downloadDoxygen-1611bc8f2488a705c3845fbc12ea4e95c69f07b3.zip
Doxygen-1611bc8f2488a705c3845fbc12ea4e95c69f07b3.tar.gz
Doxygen-1611bc8f2488a705c3845fbc12ea4e95c69f07b3.tar.bz2
Fix compile issue for doxyparse.cpp
This regression was introduced after removing support for isVisited/setVisited
Diffstat (limited to 'addon')
-rw-r--r--addon/doxyparse/doxyparse.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp
index 7ec37f7..d4abd3a 100644
--- a/addon/doxyparse/doxyparse.cpp
+++ b/addon/doxyparse/doxyparse.cpp
@@ -415,12 +415,13 @@ static void listSymbols() {
ClassSDict *classes = fd->getClassSDict();
if (classes) {
+ ClassDefSet visitedClasses;
ClassSDict::Iterator cli(*classes);
const ClassDef *cd;
for (cli.toFirst(); (cd = cli.current()); ++cli) {
- if (!cd->isVisited()) {
+ if (visitedClasses.find(cd)==visitedClasses.end()) {
classInformation(cd);
- cd->setVisited(TRUE);
+ visitedClasses.insert(cd);
}
}
}