Skip to content

Commit 4ac18d0

Browse files
committed
[Java] Set size for constant type to zero.
1 parent 34d7519 commit 4ac18d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/IrGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ private void add(final EncodedDataType type, final int offset)
404404
break;
405405

406406
case CONSTANT:
407+
tokenBuilder.size(0);
407408
encodingBuilder
408409
.presence(Encoding.Presence.CONSTANT)
409410
.constValue(type.constVal());

0 commit comments

Comments
 (0)