diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-10-28 19:18:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-10-28 19:18:10 (GMT) |
commit | d5a41b029fc13c7f07944260af312a7264215808 (patch) | |
tree | 19b154e328c60fec0c4977a32ec82dfa834bfa95 /src/entry.cpp | |
parent | ad9be5fb2339151f1d75a6c9aba4226e48a81ae1 (diff) | |
download | Doxygen-d5a41b029fc13c7f07944260af312a7264215808.zip Doxygen-d5a41b029fc13c7f07944260af312a7264215808.tar.gz Doxygen-d5a41b029fc13c7f07944260af312a7264215808.tar.bz2 |
Embed TagInfo struct inside Entry
Diffstat (limited to 'src/entry.cpp')
-rw-r--r-- | src/entry.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/entry.cpp b/src/entry.cpp index e700fab..22ff858 100644 --- a/src/entry.cpp +++ b/src/entry.cpp @@ -45,7 +45,7 @@ Entry::Entry() anchors = new QList<SectionInfo>; // Doxygen::sectionDict takes ownership of the items! //printf("Entry::Entry() tArgList=0\n"); mGrpId = -1; - tagInfo = 0; + hasTagInfo = FALSE; sli = 0; relatesType = Simple; hidden = FALSE; @@ -60,7 +60,8 @@ Entry::Entry(const Entry &e) section = e.section; type = e.type; name = e.name; - tagInfo = e.tagInfo; + hasTagInfo = e.hasTagInfo; + tagInfoData = e.tagInfoData; protection = e.protection; mtype = e.mtype; spec = e.spec; @@ -176,7 +177,6 @@ Entry::~Entry() delete extends; delete groups; delete anchors; - delete tagInfo; delete sli; num--; } @@ -309,7 +309,6 @@ void Entry::reset() tArgLists.clear(); argList.reset(); typeConstr.reset(); - if (tagInfo) { delete tagInfo; tagInfo=0; } if (sli) { delete sli; sli=0; } m_fileDef = 0; } |