diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-14 21:08:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-14 21:08:54 (GMT) |
commit | 3c60691c7b611faaf22db08127ade6bd436720c2 (patch) | |
tree | 3b257d16dd206f38cd34aafd12dc7224176ffe60 /src | |
parent | d4d5f302c532508071f6046c80c24f3b8519c55f (diff) | |
download | Doxygen-3c60691c7b611faaf22db08127ade6bd436720c2.zip Doxygen-3c60691c7b611faaf22db08127ade6bd436720c2.tar.gz Doxygen-3c60691c7b611faaf22db08127ade6bd436720c2.tar.bz2 |
Regression: Fixed crash in dotgfxhierarchytable.cpp
- introduced by commit fce7c2f8af2ccd04137c7db163333d0110241835
- found when processing pytorch code
Diffstat (limited to 'src')
-rw-r--r-- | src/dotgfxhierarchytable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotgfxhierarchytable.cpp b/src/dotgfxhierarchytable.cpp index a47cde0..77620ed 100644 --- a/src/dotgfxhierarchytable.cpp +++ b/src/dotgfxhierarchytable.cpp @@ -115,11 +115,11 @@ void DotGfxHierarchyTable::addHierarchy(DotNode *n,const ClassDef *cd,ClassDefSe if (it!=m_usedNodes.end()) // node already present { const auto &bn = it->second; + root = bn.get(); if (n->children()==0 || n->children()->findRef(bn.get())==-1) // no arrow yet { n->addChild(bn.get(),bcd.prot); bn->addParent(n); - root = bn.get(); //printf(" Adding node %s to existing base node %s (c=%d,p=%d)\n", // n->label().data(), // bn->label().data(), |