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 9dcd2b1 commit a751018Copy full SHA for a751018
src/classdef.cpp
@@ -1153,8 +1153,11 @@ void ClassDefImpl::internalInsertMember(MemberDef *md,
1153
addMemberToList(MemberListType::PacAttribs(),md,TRUE);
1154
break;
1155
case Protection::Public:
1156
- addMemberToList(MemberListType::PubAttribs(),md,TRUE);
1157
- isSimple=TRUE;
+ {
+ addMemberToList(MemberListType::PubAttribs(),md,TRUE);
1158
+ const int MAX_CELL_SIZE=60;
1159
+ isSimple=md->typeString().length()+md->name().length()+md->argsString().length()<=MAX_CELL_SIZE;
1160
+ }
1161
1162
case Protection::Private:
1163
addMemberToList(MemberListType::PriAttribs(),md,TRUE);
0 commit comments