mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-04 14:51:12 +00:00
go: do not clobber minalign when we create objects (#4834)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
e1d5fda5d4
commit
c949229395
@@ -82,7 +82,6 @@ func (b *Builder) StartObject(numfields int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
b.objectEnd = b.Offset()
|
b.objectEnd = b.Offset()
|
||||||
b.minalign = 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// WriteVtable serializes the vtable for the current object, if applicable.
|
// WriteVtable serializes the vtable for the current object, if applicable.
|
||||||
|
|||||||
Reference in New Issue
Block a user