mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 19:54:12 +00:00
fixed packing structs in nested buffers (#6509)
This commit is contained in:
@@ -70,8 +70,10 @@ constructor(
|
||||
|
||||
|
||||
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
||||
const referToC = (this.referToC !== null ? this.referToC!.pack(builder) : 0);
|
||||
|
||||
return SecondTableInA.createSecondTableInA(builder,
|
||||
(this.referToC !== null ? this.referToC!.pack(builder) : 0)
|
||||
referToC
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user