summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdldocgen.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index e3673fd..7afc832 100644
--- a/src/vhdldocgen.cpp
+++ b/src/vhdldocgen.cpp
@@ -2123,8 +2123,7 @@ void VhdlDocGen::writePlainVHDLDeclarations(
const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,int specifier)
{
- SDict<QCString> pack(1009);
- pack.setAutoDelete(TRUE);
+ StringSet pack;
bool first=TRUE;
MemberDef *imd;
@@ -2142,17 +2141,16 @@ void VhdlDocGen::writePlainVHDLDeclarations(
} //if
else if (md->isBriefSectionVisible() && (mems==specifier))
{
- if (!pack.find(md->name().data()))
+ if (pack.find(md->name().str())==pack.end())
{
if (first) ol.startMemberList(),first=FALSE;
VhdlDocGen::writeVHDLDeclaration(md,ol,cd,nd,fd,gd,FALSE);
- pack.append(md->name().data(),new QCString(md->name().data()));
+ pack.insert(md->name().str());
}
} //if
} //if
} //for
if (!first) ol.endMemberList();
- pack.clear();
}//plainDeclaration
static bool membersHaveSpecificType(const MemberList *ml,uint64 type)