From 35ba2b3ff0d482bb87254fd48d553641eafc8f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Wed, 17 Jul 2024 07:56:24 +0200 Subject: [PATCH] Refs #21379. Support setting values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- .../java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"$ }; >>