summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDavid Hebbeker <david@hebbeker.info>2020-04-26 10:08:40 (GMT)
committerDavid Hebbeker <david@hebbeker.info>2020-05-02 17:04:53 (GMT)
commit0c28706a1e82a4ad6021ce016bc5937698cbbd3c (patch)
tree648f4261e2f6ff7a05a5388123c6e2909b070f13 /src/index.cpp
parent534cf6a4f2098e96b15bb49f41d93d6e991bd3f9 (diff)
downloadDoxygen-0c28706a1e82a4ad6021ce016bc5937698cbbd3c.zip
Doxygen-0c28706a1e82a4ad6021ce016bc5937698cbbd3c.tar.gz
Doxygen-0c28706a1e82a4ad6021ce016bc5937698cbbd3c.tar.bz2
Replaced DirList::count() by DirList::size().
(cherry picked from commit 38d38b225f1e8698e5813e16356e8929fcec1e81)
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 698470d..07dda3e 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -615,7 +615,7 @@ static void writeDirTreeNode(OutputList &ol, DirDef *dd, int level, FTVHelp* ftv
}
static bool tocExpand = TRUE; //Config_getBool(TOC_EXPAND);
- bool isDir = dd->subDirs().count()>0 || // there are subdirs
+ bool isDir = dd->subDirs().size()>0 || // there are subdirs
(tocExpand && // or toc expand and
dd->getFiles() && dd->getFiles()->count()>0 // there are files
);
@@ -644,7 +644,7 @@ static void writeDirTreeNode(OutputList &ol, DirDef *dd, int level, FTVHelp* ftv
}
// write sub directories
- if (dd->subDirs().count()>0)
+ if (dd->subDirs().size()>0)
{
startIndexHierarchy(ol,level+1);
for(const auto subdd : dd->subDirs())
@@ -3988,7 +3988,7 @@ static void writeGroupTreeNode(OutputList &ol, GroupDef *gd, int level, FTVHelp*
numSubItems += gd->getNamespaces()->count();
numSubItems += gd->getClasses()->count();
numSubItems += gd->getFiles()->count();
- numSubItems += gd->getDirs()->count();
+ numSubItems += gd->getDirs()->size();
numSubItems += gd->getPages()->count();
}