mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-2384 Binary map keys produce uncompilable code in go
Patch: Aleksey Pesternikov
This commit is contained in:
parent
38eea034c3
commit
111d13a1e7
@ -2930,7 +2930,7 @@ void t_go_generator::generate_serialize_map_element(ofstream &out,
|
||||
t_field vfield(tmap->get_val_type(), "");
|
||||
kfield.set_req(t_field::T_OPT_IN_REQ_OUT);
|
||||
vfield.set_req(t_field::T_OPT_IN_REQ_OUT);
|
||||
generate_serialize_field(out, &kfield, kiter);
|
||||
generate_serialize_field(out, &kfield, kiter, true);
|
||||
generate_serialize_field(out, &vfield, viter);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user