diff options
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 4d56c74..6a505ec 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -386,10 +386,13 @@ void ClassDef::insertMember(MemberDef *md) functionMembers.append(md); break; case Private: - if (Config::sortMembersFlag) - functionMembers.inSort(md); - else - functionMembers.append(md); + if (Config::extractPrivateFlag) + { + if (Config::sortMembersFlag) + functionMembers.inSort(md); + else + functionMembers.append(md); + } break; } break; |