diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-11-13 10:03:26 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-11-13 10:03:26 (GMT) |
commit | 71d7a9399db016cba83ccd63c6ba7e0fac1cd44d (patch) | |
tree | f46a48a9341af86ccab184fc18833abc97e30b7e | |
parent | 5f01f783e2387a5d44ad70fbff5365aa0e5df938 (diff) | |
download | Doxygen-71d7a9399db016cba83ccd63c6ba7e0fac1cd44d.zip Doxygen-71d7a9399db016cba83ccd63c6ba7e0fac1cd44d.tar.gz Doxygen-71d7a9399db016cba83ccd63c6ba7e0fac1cd44d.tar.bz2 |
Bug 774273 - INLINE_SIMPLE_STRUCTS with enums in classes does not work
-rw-r--r-- | src/classdef.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 51fb8c6..111d59b 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -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); |