summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-08-09 08:29:54 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-08-09 08:29:54 (GMT)
commitf1ddf16acd015f8cf9ffc1fbf5719e8c764150e2 (patch)
treea09074ed1c9a5c1efb292f69db4f9bbb3a97cb19 /src/memberdef.cpp
parent3a7dcb4cbc953fcf5ab62243743707e5e0e3d379 (diff)
downloadDoxygen-f1ddf16acd015f8cf9ffc1fbf5719e8c764150e2.zip
Doxygen-f1ddf16acd015f8cf9ffc1fbf5719e8c764150e2.tar.gz
Doxygen-f1ddf16acd015f8cf9ffc1fbf5719e8c764150e2.tar.bz2
Release-1.4.7-20060809
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index a34aa67..3759a65 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -461,7 +461,7 @@ void MemberDef::insertReimplementedBy(MemberDef *md)
{
m_templateMaster->insertReimplementedBy(md);
}
- if (redefinedBy==0) redefinedBy = new MemberList;
+ if (redefinedBy==0) redefinedBy = new MemberList(MemberList::redefinedBy);
if (redefinedBy->findRef(md)==-1)
{
redefinedBy->inSort(md);
@@ -480,7 +480,7 @@ MemberList *MemberDef::reimplementedBy() const
void MemberDef::insertEnumField(MemberDef *md)
{
- if (enumFields==0) enumFields=new MemberList;
+ if (enumFields==0) enumFields=new MemberList(MemberList::enumFields);
enumFields->append(md);
}