File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2030,7 +2030,7 @@ private static CharSequence generateEnumFieldNotPresentCondition(
20302030
20312031 private CharSequence generateEnumProperty (
20322032 final String containingClassName ,
2033- final Token signalToken ,
2033+ final Token fieldToken ,
20342034 final String propertyName ,
20352035 final Token token ,
20362036 final String indent )
@@ -2047,11 +2047,11 @@ private CharSequence generateEnumProperty(
20472047 indent + " return %2$d;\n " +
20482048 indent + " }\n " ,
20492049 propertyName ,
2050- signalToken .encodedLength ()));
2050+ fieldToken .encodedLength ()));
20512051
2052- if (signalToken .isConstantEncoding ())
2052+ if (fieldToken .isConstantEncoding ())
20532053 {
2054- final String constValue = signalToken .encoding ().constValue ().toString ();
2054+ final String constValue = fieldToken .encoding ().constValue ().toString ();
20552055
20562056 sb .append (String .format ("\n " +
20572057 indent + " static SBE_CONSTEXPR %1$s::Value %2$sConstValue() SBE_NOEXCEPT\n " +
You can’t perform that action at this time.
0 commit comments