summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-01-05 10:26:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-01-05 10:26:10 (GMT)
commit9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a (patch)
treeee15d10d932fa1d21de3ebfcb445e2bd81b9f00b /src/util.cpp
parentad53b7bebd3042598e5a11b1f3ef29468815138b (diff)
downloadDoxygen-9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a.zip
Doxygen-9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a.tar.gz
Doxygen-9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a.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;
}
}