diff options
author | rw <me@rwinslow.com> | 2014-09-23 13:55:05 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <wvo@google.com> | 2014-09-23 17:25:50 -0700 |
commit | ef03cf46e47a74abd3ee0a4d7942ce46b8b6ea08 (patch) | |
tree | da9e87be2c9b5c2c4b453f8d2d3db2bee19af2db /go/table.go | |
parent | 7b8053570e4407cedfde8d32f6a3c59e5585ef7b (diff) | |
download | flatbuffers-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.go | 1 |
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:]) |