diff --git a/src/main/java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg b/src/main/java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg index e1d7f70d..e77e98ec 100644 --- a/src/main/java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg +++ b/src/main/java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg @@ -565,7 +565,7 @@ enum_type(ctx, parent, enum) ::= << */ enum class $enum.name$ : int32_t { - $enum.members:{ member | $member.name$}; separator=",\n"$ + $enum.members:{ member | $member.name$$if(member.annotationValue)$ = $member.annotationValueValue$$endif$}; separator=",\n"$ }; >>