Skip to content

Commit

Permalink
Bug 774273 - INLINE_SIMPLE_STRUCTS with enums in classes does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Nov 13, 2016
1 parent 5f01f78 commit 71d7a93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/classdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,9 @@ void ClassDef::internalInsertMember(MemberDef *md,
break;
case Public:
addMemberToList(MemberListType_pubTypes,md,TRUE);
isSimple=QCString(md->typeString()).find(")(")==-1;
isSimple=!md->isEnumerate() &&
!md->isEnumValue() &&
QCString(md->typeString()).find(")(")==-1; // func ptr typedef
break;
case Private:
addMemberToList(MemberListType_priTypes,md,TRUE);
Expand Down

0 comments on commit 71d7a93

Please sign in to comment.