summaryrefslogtreecommitdiffstats
path: root/src/entry.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-06-25 11:31:51 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-06-25 11:31:51 (GMT)
commitd0412f05557d55f465407a9337553c0a6ee0396f (patch)
treefa51c4ac8c1fe241b2d6c4af9d2f9a1297ce8e0a /src/entry.cpp
parent1cbd7d2faa8d543f521b144a8120c3a1ba2f832f (diff)
downloadDoxygen-d0412f05557d55f465407a9337553c0a6ee0396f.zip
Doxygen-d0412f05557d55f465407a9337553c0a6ee0396f.tar.gz
Doxygen-d0412f05557d55f465407a9337553c0a6ee0396f.tar.bz2
Release-1.7.1
Diffstat (limited to 'src/entry.cpp')
-rw-r--r--src/entry.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/entry.cpp b/src/entry.cpp
index 6ef5a1e..745a7f9 100644
--- a/src/entry.cpp
+++ b/src/entry.cpp
@@ -118,8 +118,7 @@ Entry::Entry(const Entry &e)
write = e.write;
inside = e.inside;
exception = e.exception;
- typeConstr = new ArgumentList;
- typeConstr->setAutoDelete(TRUE);
+ typeConstr = 0;
bodyLine = e.bodyLine;
endBodyLine = e.endBodyLine;
mGrpId = e.mGrpId;
@@ -145,7 +144,7 @@ Entry::Entry(const Entry &e)
{
sli=0;
}
- objc = e.objc;
+ lang = e.lang;
hidden = e.hidden;
artificial = e.artificial;
groupDocType = e.groupDocType;
@@ -199,6 +198,8 @@ Entry::Entry(const Entry &e)
// deep copy type contraint list
if (e.typeConstr)
{
+ typeConstr = new ArgumentList;
+ typeConstr->setAutoDelete(TRUE);
QListIterator<Argument> tcli(*e.typeConstr);
for (;(a=tcli.current());++tcli)
{
@@ -283,7 +284,7 @@ void Entry::reset()
proto = FALSE;
explicitExternal = FALSE;
spec = 0;
- objc = FALSE;
+ lang = SrcLangExt_Unknown;
hidden = FALSE;
artificial = FALSE;
subGrouping = TRUE;