summaryrefslogtreecommitdiffstats
path: root/src/defgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/defgen.cpp')
-rw-r--r--src/defgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defgen.cpp b/src/defgen.cpp
index a8f89c5..de11057 100644
--- a/src/defgen.cpp
+++ b/src/defgen.cpp
@@ -220,7 +220,7 @@ void generateDEFForMember(MemberDef *md,
// TODO: exceptions, const volatile
if (md->memberType()==MemberType_Enumeration) // enum
{
- MemberList *enumList = md->enumFieldList();
+ const MemberList *enumList = md->enumFieldList();
if (enumList!=0)
{
MemberListIterator emli(*enumList);