From 827f65bddb6930fb40f2e9734915275c2ae0dd7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 22 Oct 2024 14:43:07 +0200 Subject: [PATCH] Refs #21978. Fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- src/main/java/com/eprosima/fastdds/idl/templates/eprosima.stg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eprosima/fastdds/idl/templates/eprosima.stg b/src/main/java/com/eprosima/fastdds/idl/templates/eprosima.stg index 6cc99a41..ac137df6 100644 --- a/src/main/java/com/eprosima/fastdds/idl/templates/eprosima.stg +++ b/src/main/java/com/eprosima/fastdds/idl/templates/eprosima.stg @@ -144,7 +144,7 @@ $definition_list$ //{ Anonymous collections generator name sequence_name(sequence) ::= <% -$if(sequence.contentTypeCode.primitive && !sequence.contentTypeCode.isEnumType)$ +$if(sequence.contentTypeCode.primitive && !sequence.contentTypeCode.isEnumType && !sequence.contentTypeCode.isAliasType)$ anonymous_sequence_$sequence.contentTypeCode.cppTypenameForTypeId$_$if(sequence.unbound)$unbounded$else$$sequence.evaluatedMaxsize$$endif$ $elseif (sequence.contentTypeCode.isStringType)$ anonymous_sequence_$string_name(string=sequence.contentTypeCode)$_$if(sequence.unbound)$unbounded$else$$sequence.evaluatedMaxsize$$endif$