summaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorRobert <rw@users.noreply.github.com>2018-07-23 16:34:08 -0700
committerWouter van Oortmerssen <aardappel@gmail.com>2018-07-23 16:34:08 -0700
commitc9492293959741eca5fd136317a545a1a2511ce8 (patch)
tree8c051c997da7f0d809e7264a48cec4ae64e8f122 /go
parente1d5fda5d449629d1a6bbd6145bf3cca648ea273 (diff)
downloadflatbuffers-c9492293959741eca5fd136317a545a1a2511ce8.tar.gz
flatbuffers-c9492293959741eca5fd136317a545a1a2511ce8.tar.bz2
flatbuffers-c9492293959741eca5fd136317a545a1a2511ce8.zip
go: do not clobber minalign when we create objects (#4834)
Diffstat (limited to 'go')
-rw-r--r--go/builder.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/go/builder.go b/go/builder.go
index e47f420c..8d75700c 100644
--- a/go/builder.go
+++ b/go/builder.go
@@ -82,7 +82,6 @@ func (b *Builder) StartObject(numfields int) {
}
b.objectEnd = b.Offset()
- b.minalign = 1
}
// WriteVtable serializes the vtable for the current object, if applicable.