summaryrefslogtreecommitdiff
path: root/go/table.go
diff options
context:
space:
mode:
authorrw <me@rwinslow.com>2014-09-23 13:55:05 -0700
committerWouter van Oortmerssen <wvo@google.com>2014-09-23 17:25:50 -0700
commitef03cf46e47a74abd3ee0a4d7942ce46b8b6ea08 (patch)
treeda9e87be2c9b5c2c4b453f8d2d3db2bee19af2db /go/table.go
parent7b8053570e4407cedfde8d32f6a3c59e5585ef7b (diff)
downloadflatbuffers-ef03cf46e47a74abd3ee0a4d7942ce46b8b6ea08.tar.gz
flatbuffers-ef03cf46e47a74abd3ee0a4d7942ce46b8b6ea08.tar.bz2
flatbuffers-ef03cf46e47a74abd3ee0a4d7942ce46b8b6ea08.zip
Fix vector of strings for Go
Mirrors Java patch 39d4b7e2bf Change-Id: If8d0ab29f6eb508a156d468aeb0a9d5410149e53
Diffstat (limited to 'go/table.go')
-rw-r--r--go/table.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/go/table.go b/go/table.go
index 21c11218..dc5c3990 100644
--- a/go/table.go
+++ b/go/table.go
@@ -26,7 +26,6 @@ func (t *Table) Indirect(off UOffsetT) UOffsetT {
// String gets a string from data stored inside the flatbuffer.
func (t *Table) String(off UOffsetT) string {
- off += t.Pos
off += GetUOffsetT(t.Bytes[off:])
start := off + UOffsetT(SizeUOffsetT)
length := GetUOffsetT(t.Bytes[off:])