mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
Restore the ''import "unsafe'' removed in 36daedf35f.
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
This commit is contained in:
parent
0de4f3f75b
commit
dc5975ba7a
1 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
|||
package flatbuffers
|
||||
|
||||
import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
// See http://golang.org/ref/spec#Numeric_types
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue