summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-08-23 12:45:37 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-08-23 13:38:23 (GMT)
commita1df9c36d95586ce3a0dc58695ff938768d02c5c (patch)
tree8cca6642b4b360e6aaf7a32946f4402e16bcf859
parentfda8427000640072eef6584988e1be5887db3c48 (diff)
downloadDoxygen-a1df9c36d95586ce3a0dc58695ff938768d02c5c.zip
Doxygen-a1df9c36d95586ce3a0dc58695ff938768d02c5c.tar.gz
Doxygen-a1df9c36d95586ce3a0dc58695ff938768d02c5c.tar.bz2
Fix potential assert when members of base class were not yet counted
-rw-r--r--src/classdef.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 6e7ed72..07a275c 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -4102,11 +4102,13 @@ int ClassDef::countMemberDeclarations(MemberListType lt,ClassDef *inheritedFrom,
{
if (ml)
{
+ ml->countDecMembers();
count+=ml->numDecMembers();
//printf("-> ml=%d\n",ml->numDecMembers());
}
if (ml2)
{
+ ml2->countDecMembers();
count+=ml2->numDecMembers();
//printf("-> ml2=%d\n",ml2->numDecMembers());
}