Skip to content

Commit

Permalink
Fixed discarding of Slice types during namespace dox generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertCreativityHere committed Nov 20, 2023
1 parent 92fc6f3 commit baa3908
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/namespacedef.cpp
Expand Up @@ -399,25 +399,25 @@ void NamespaceDefImpl::addInnerCompound(Definition *d)

void NamespaceDefImpl::insertClass(ClassDef *cd)
{
ClassLinkedRefMap &d = classes;
ClassLinkedRefMap *d = &classes;

if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
if (cd->compoundType()==ClassDef::Interface)
{
d = interfaces;
d = &interfaces;
}
else if (cd->compoundType()==ClassDef::Struct)
{
d = structs;
d = &structs;
}
else if (cd->compoundType()==ClassDef::Exception)
{
d = exceptions;
d = &exceptions;
}
}

d.add(cd->name(),cd);
d->add(cd->name(),cd);
}

void NamespaceDefImpl::insertConcept(ConceptDef *cd)
Expand Down

0 comments on commit baa3908

Please sign in to comment.