We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92fc6f3 commit baa3908Copy full SHA for baa3908
src/namespacedef.cpp
@@ -399,25 +399,25 @@ void NamespaceDefImpl::addInnerCompound(Definition *d)
399
400
void NamespaceDefImpl::insertClass(ClassDef *cd)
401
{
402
- ClassLinkedRefMap &d = classes;
+ ClassLinkedRefMap *d = &classes;
403
404
if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
405
406
if (cd->compoundType()==ClassDef::Interface)
407
408
- d = interfaces;
+ d = &interfaces;
409
}
410
else if (cd->compoundType()==ClassDef::Struct)
411
412
- d = structs;
+ d = &structs;
413
414
else if (cd->compoundType()==ClassDef::Exception)
415
416
- d = exceptions;
+ d = &exceptions;
417
418
419
420
- d.add(cd->name(),cd);
+ d->add(cd->name(),cd);
421
422
423
void NamespaceDefImpl::insertConcept(ConceptDef *cd)
0 commit comments