summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-10-07 14:42:40 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-10-07 14:42:40 (GMT)
commitf12c78472b4ea2f6b82c241a345af5da3d4973b9 (patch)
treed8a25d9352ffbba6e6fc08e678d7465211198851 /src/groupdef.cpp
parentc52e719895be2a133e6574573584df5a91b98ec6 (diff)
downloadDoxygen-f12c78472b4ea2f6b82c241a345af5da3d4973b9.zip
Doxygen-f12c78472b4ea2f6b82c241a345af5da3d4973b9.tar.gz
Doxygen-f12c78472b4ea2f6b82c241a345af5da3d4973b9.tar.bz2
Release-1.2.11.1
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index bb1c2f0..3f21215 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -43,7 +43,7 @@ GroupDef::GroupDef(const char *df,int dl,const char *na,const char *t) :
pageDict = new PageSDict(257);
exampleDict = new PageSDict(257);
allMemberList = new MemberList;
- allMemberNameInfoDict = new MemberNameInfoDict(1009);
+ allMemberNameInfoSDict = new MemberNameInfoSDict(17);
fileName = (QCString)"group_"+na;
setGroupTitle( t );
memberGroupList = new MemberGroupList;
@@ -79,7 +79,7 @@ GroupDef::~GroupDef()
delete pageDict;
delete exampleDict;
delete allMemberList;
- delete allMemberNameInfoDict;
+ delete allMemberNameInfoSDict;
delete memberGroupList;
delete memberGroupDict;
}
@@ -170,7 +170,7 @@ void GroupDef::insertMember(MemberDef *md,bool docOnly)
{
//fprintf(stderr, "GroupDef(%s)::insertMember(%s)\n", title.data(), md->name().data());
MemberNameInfo *mni=0;
- if ((mni=(*allMemberNameInfoDict)[md->name()]))
+ if ((mni=(*allMemberNameInfoSDict)[md->name()]))
{ // member with this name already found
MemberNameInfoIterator srcMnii(*mni);
MemberInfo *srcMi;
@@ -189,7 +189,7 @@ void GroupDef::insertMember(MemberDef *md,bool docOnly)
{
mni = new MemberNameInfo(md->name());
mni->append(new MemberInfo(md,md->protection(),md->virtualness(),FALSE));
- allMemberNameInfoDict->insert(mni->memberName(),mni);
+ allMemberNameInfoSDict->append(mni->memberName(),mni);
}
allMemberList->append(md);
switch(md->memberType())
@@ -251,7 +251,7 @@ void GroupDef::insertMember(MemberDef *md,bool docOnly)
void GroupDef::removeMember(MemberDef *md)
{
// fprintf(stderr, "GroupDef(%s)::removeMember( %s )\n", title.data(), md->name().data());
- MemberNameInfo *mni = allMemberNameInfoDict->find(md->name());
+ MemberNameInfo *mni = allMemberNameInfoSDict->find(md->name());
if (mni)
{
MemberNameInfoIterator mnii(*mni);
@@ -266,7 +266,7 @@ void GroupDef::removeMember(MemberDef *md)
}
if( mni->isEmpty() )
{
- allMemberNameInfoDict->remove(md->name());
+ allMemberNameInfoSDict->remove(md->name());
delete mni;
}