summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index b985412..b253682 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -387,7 +387,8 @@ void MemberList::writePlainDeclarations(OutputList &ol,
}
// if this is an anonymous enum and there are variables of this
// enum type (i.e. enumVars>0), then we do not show the enum here.
- if (enumVars==0) // show enum here
+ if ((enumVars==0) // show enum here
+ && md->hasDocumentation())
{
//printf("Enum!!\n");
if (first)