Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
2a54997b
Commit
2a54997b
authored
Dec 02, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gob: fix build
TBR=r
https://golang.org/cl/163064
parent
e9192758
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
encode.go
src/pkg/gob/encode.go
+1
-1
No files found.
src/pkg/gob/encode.go
View file @
2a54997b
...
@@ -375,7 +375,7 @@ func encOpFor(rt reflect.Type) (encOp, int, os.Error) {
...
@@ -375,7 +375,7 @@ func encOpFor(rt reflect.Type) (encOp, int, os.Error) {
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
0
,
err
return
nil
,
0
,
err
}
}
info
:=
getTypeInfoNoError
(
typ
);
info
:=
mustGetTypeInfo
(
typ
);
op
=
func
(
i
*
encInstr
,
state
*
encoderState
,
p
unsafe
.
Pointer
)
{
op
=
func
(
i
*
encInstr
,
state
*
encoderState
,
p
unsafe
.
Pointer
)
{
state
.
update
(
i
);
state
.
update
(
i
);
// indirect through info to delay evaluation for recursive structs
// indirect through info to delay evaluation for recursive structs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment