diff options
author | Manolama <clarsen@euphoriaaudio.com> | 2016-12-08 22:15:20 -0800 |
---|---|---|
committer | Chris Larsen <clarsen@yahoo-inc.com> | 2016-12-08 22:19:33 -0800 |
commit | dc5975ba7aaee455f6f9dd6c9f16650e0d2faaa4 (patch) | |
tree | f87ad45b2831dabde60f1ba23a1c9aeffe7beec2 /go | |
parent | 0de4f3f75be54522af19ed6595fb41f2647f8b94 (diff) | |
download | flatbuffers-dc5975ba7aaee455f6f9dd6c9f16650e0d2faaa4.tar.gz flatbuffers-dc5975ba7aaee455f6f9dd6c9f16650e0d2faaa4.tar.bz2 flatbuffers-dc5975ba7aaee455f6f9dd6c9f16650e0d2faaa4.zip |
Restore the ''import "unsafe'' removed in 36daedf35fd0cc2ad0e5e24d187b25613c13660e.
This was causing build failures with tools dependent on Flatbuffers in Go.
E.g.
go/src/github.com/google/flatbuffers/go/sizes.go:50: undefined: unsafe in unsafe.Pointer
Diffstat (limited to 'go')
-rw-r--r-- | go/sizes.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/go/sizes.go b/go/sizes.go index 30b2e92d..e72b44f8 100644 --- a/go/sizes.go +++ b/go/sizes.go @@ -1,5 +1,9 @@ package flatbuffers +import ( + "unsafe" +) + const ( // See http://golang.org/ref/spec#Numeric_types |