Skip to content

Commit baa3908

Browse files
Fixed discarding of Slice types during namespace dox generation.
1 parent 92fc6f3 commit baa3908

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/namespacedef.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,25 +399,25 @@ void NamespaceDefImpl::addInnerCompound(Definition *d)
399399

400400
void NamespaceDefImpl::insertClass(ClassDef *cd)
401401
{
402-
ClassLinkedRefMap &d = classes;
402+
ClassLinkedRefMap *d = &classes;
403403

404404
if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
405405
{
406406
if (cd->compoundType()==ClassDef::Interface)
407407
{
408-
d = interfaces;
408+
d = &interfaces;
409409
}
410410
else if (cd->compoundType()==ClassDef::Struct)
411411
{
412-
d = structs;
412+
d = &structs;
413413
}
414414
else if (cd->compoundType()==ClassDef::Exception)
415415
{
416-
d = exceptions;
416+
d = &exceptions;
417417
}
418418
}
419419

420-
d.add(cd->name(),cd);
420+
d->add(cd->name(),cd);
421421
}
422422

423423
void NamespaceDefImpl::insertConcept(ConceptDef *cd)

0 commit comments

Comments
 (0)