diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/classdef.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 19c8fac..3a680c5 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -3646,7 +3646,8 @@ void ClassDefImpl::mergeMembers() m_impl->membersMerged=TRUE; //printf(" mergeMembers for %s\n",name().data()); - bool inlineInheritedMembers = Config_getBool(INLINE_INHERITED_MEMB); + static bool inlineInheritedMembers = Config_getBool(INLINE_INHERITED_MEMB); + static bool extractPrivate = Config_getBool(EXTRACT_PRIVATE); if (baseClasses()) { //printf(" => has base classes!\n"); @@ -3842,7 +3843,7 @@ void ClassDefImpl::mergeMembers() // name().data(),mi->memberDef->name().data(),mi->prot, // bcd->prot,prot); - if (mi->prot!=Private) + if (prot!=Private || extractPrivate) { Specifier virt=mi->virt; if (mi->virt==Normal && bcd->virt!=Normal) virt=bcd->virt; |