summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-10-29 18:37:27 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-10-29 21:54:21 (GMT)
commit4b745debaec0dbff60f7fe82ac32c59e3b21dfea (patch)
tree3c3d8693c0638bdc5a1fdf28f8d0c41bf3978bfb /src/commentscan.l
parentd38df57916d5902abc9dbaf5891c14898ce675da (diff)
downloadDoxygen-4b745debaec0dbff60f7fe82ac32c59e3b21dfea.zip
Doxygen-4b745debaec0dbff60f7fe82ac32c59e3b21dfea.tar.gz
Doxygen-4b745debaec0dbff60f7fe82ac32c59e3b21dfea.tar.bz2
Replaced QList<SectionInfo> by std::vector<SectionInfo>
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 29bc1d9..b3fe0ae 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -605,7 +605,7 @@ static void addXRefItem(const char *listName,const char *itemTitle,
g_sectionTitle,SectionInfo::Anchor,
g_sectionLevel);
Doxygen::sectionDict->append(anchorLabel,si);
- current->anchors->append(si);
+ current->anchors.push_back(si);
}
}
outputXRef.resize(0);
@@ -673,7 +673,7 @@ static void addSection()
g_sectionTitle,sectionLevelToType(g_sectionLevel),g_sectionLevel);
// add section to this entry
- current->anchors->append(si);
+ current->anchors.push_back(si);
// add section to the global dictionary
Doxygen::sectionDict->append(g_sectionLabel,si);
@@ -850,7 +850,7 @@ static void addAnchor(const char *anchor)
{
si = new SectionInfo(yyFileName,yyLineNr,anchor,0,SectionInfo::Anchor,0);
Doxygen::sectionDict->append(anchor,si);
- current->anchors->append(si);
+ current->anchors.push_back(si);
}
}