diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-11-21 17:44:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-11-21 17:44:23 (GMT) |
commit | b2d009555ebce4a6802ac0255c056e880bdb45bd (patch) | |
tree | 7a3b852bbb5366e7434ac013143914cadb7a816a /src/doxygen.cpp | |
parent | 1611bc8f2488a705c3845fbc12ea4e95c69f07b3 (diff) | |
download | Doxygen-b2d009555ebce4a6802ac0255c056e880bdb45bd.zip Doxygen-b2d009555ebce4a6802ac0255c056e880bdb45bd.tar.gz Doxygen-b2d009555ebce4a6802ac0255c056e880bdb45bd.tar.bz2 |
issue #8192: Excluded inline namespace broken after a5792da8
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 0a8bb0e..0fb602d 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -1160,7 +1160,8 @@ static void resolveClassNestingRelations() ClassDef *icd=0; for (cli.toFirst();(icd=cli.current());++cli) { - if (visitedClasses.find(icd)==visitedClasses.end()) + ClassDefMutable *cd = toClassDefMutable(icd); + if (cd && visitedClasses.find(icd)==visitedClasses.end()) { QCString name = stripAnonymousNamespaceScope(icd->name()); //printf("processing=%s, iteration=%d\n",cd->name().data(),iteration); @@ -1169,7 +1170,6 @@ static void resolveClassNestingRelations() name,icd->getFileDef(),0); if (d) { - ClassDefMutable *cd = toClassDefMutable(icd); //printf("****** adding %s to scope %s in iteration %d\n",cd->name().data(),d->name().data(),iteration); d->addInnerCompound(cd); cd->setOuterScope(toDefinition(d)); |