Restore the ''import "unsafe'' removed in 36daedf35fd0cc2ad0e5e24d187b25613c13660e.
authorManolama <clarsen@euphoriaaudio.com>
Fri, 9 Dec 2016 06:15:20 +0000 (22:15 -0800)
committerChris Larsen <clarsen@yahoo-inc.com>
Fri, 9 Dec 2016 06:19:33 +0000 (22:19 -0800)
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

go/sizes.go

index 30b2e92..e72b44f 100644 (file)
@@ -1,5 +1,9 @@
 package flatbuffers
 
+import (
+        "unsafe"
+)
+
 const (
        // See http://golang.org/ref/spec#Numeric_types