Skip to content

Commit

Permalink
issue #8103: C++ Table of content, namespace list does not contains n…
Browse files Browse the repository at this point in the history
…amespace without class
  • Loading branch information
doxygen committed Oct 19, 2020
1 parent ccca51f commit e847d5d
Show file tree
Hide file tree
Showing 5 changed files with 336 additions and 337 deletions.
2 changes: 1 addition & 1 deletion src/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6541,7 +6541,7 @@ class NestingContext::Private : public GenericNodeListContext
if (!nd->isAnonymous() &&
(!rootOnly || nd->getOuterScope()==Doxygen::globalScope))
{
bool hasChildren = namespaceHasVisibleChild(nd,addClasses,false,ClassDef::Class);
bool hasChildren = namespaceHasNestedNamespace(nd);
bool isLinkable = nd->isLinkableInProject();
if (isLinkable || hasChildren)
{
Expand Down
4 changes: 2 additions & 2 deletions src/ftvhelp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void FTVHelp::finalize()
*/
void FTVHelp::incContentsDepth()
{
//printf("incContentsDepth() indent=%d\n",m_indent);
//printf("%p: incContentsDepth() indent=%d\n",this,m_indent);
m_indent++;
ASSERT(m_indent<MAX_INDENT);
}
Expand All @@ -178,7 +178,7 @@ void FTVHelp::incContentsDepth()
*/
void FTVHelp::decContentsDepth()
{
//printf("decContentsDepth() indent=%d\n",m_indent);
//printf("%p: decContentsDepth() indent=%d\n",this,m_indent);
ASSERT(m_indent>0);
if (m_indent>0)
{
Expand Down
Loading

0 comments on commit e847d5d

Please sign in to comment.