summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-01-05 10:26:10 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-01-05 10:26:10 (GMT)
commita66e1ada3c7467e267ff39262178fa4577f0b6ab (patch)
treeee15d10d932fa1d21de3ebfcb445e2bd81b9f00b /src/util.cpp
parentff11b7d98ad7d24770afd151aa6b439adc7506d2 (diff)
downloadDoxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.zip
Doxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.tar.gz
Doxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.tar.bz2
Release-1.2.13.1
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp34
1 files changed, 23 insertions, 11 deletions
diff --git a/src/util.cpp b/src/util.cpp
index e73b45b..25b00e4 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -3102,7 +3102,8 @@ const char *getOverloadDocs()
"function only in what argument(s) it accepts.";
}
-void addMembersToMemberGroup(MemberList *ml,MemberGroupSDict *memberGroupSDict)
+void addMembersToMemberGroup(MemberList *ml,
+ MemberGroupSDict *memberGroupSDict,Definition *context)
{
MemberListIterator mli(*ml);
MemberDef *md;
@@ -3122,19 +3123,30 @@ void addMembersToMemberGroup(MemberList *ml,MemberGroupSDict *memberGroupSDict)
mg = new MemberGroup(groupId,*pGrpHeader,pDocs ? pDocs->data() : 0);
memberGroupSDict->append(groupId,mg);
}
- md = ml->take(index);
- mg->insertMember(md);
+ md = ml->take(index); // remove from member list
+ //if (allMembers) // remove from all member list as well
+ //{
+ // MemberNameInfo *mni = allMembers->find(md->name());
+ // if (mni)
+ // {
+ // QListIterator<MemberInfo> mii(*mni);
+ // MemberInfo *mi;
+ // for (;(mi=mii.current());++mii)
+ // {
+ // if (mi->memberDef==md)
+ // {
+ // mni->remove(mi);
+ // break;
+ // }
+ // }
+ // }
+ //}
+ mg->insertMember(context,md); // insert in member group
md->setMemberGroup(mg);
+ continue;
}
- else
- {
- ++mli;++index;
- }
- }
- else
- {
- ++mli;++index;
}
+ ++mli;++index;
}
}