Permalink
Browse files

Bug 768830 - Doxygen segfault (return code 134) when parsing a c++ en…

…um class contained in a class
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Jul 31, 2016
1 parent 0d9fc8d commit f37c0e58c47c43e96417d4dcf1559e3f9d1b323b
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/membergroup.cpp
@@ -147,7 +147,8 @@ void MemberGroup::addGroupedInheritedMembers(OutputList &ol,ClassDef *cd,
for (li.toFirst();(md=li.current());++li)
{
//printf("matching %d == %d\n",lt,md->getSectionList(m_parent)->listType());
if (lt==md->getSectionList(m_parent)->listType())
MemberList *ml = md->getSectionList(m_parent);
if (ml && lt==ml->listType())
{
MemberList ml(lt);
ml.append(md);
@@ -165,7 +166,8 @@ int MemberGroup::countGroupedInheritedMembers(MemberListType lt)
for (li.toFirst();(md=li.current());++li)
{
//printf("matching %d == %d\n",lt,md->getSectionList(m_parent)->listType());
if (lt==md->getSectionList(m_parent)->listType())
MemberList *ml = md->getSectionList(m_parent);
if (ml && lt==ml->listType())
{
count++;
}

0 comments on commit f37c0e5

Please sign in to comment.