mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
THRIFT-901. hs: Allow the bindings to compile without -fglasgow-exts and with -Wall -Werror
Forgot a small chunk of the previous patch. Patch: Christian Lavoie git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e59a80fbf9
commit
f38b2f10fb
@ -574,7 +574,7 @@ void t_hs_generator::generate_hs_struct_reader(ofstream& out, t_struct* tstruct)
|
||||
// read
|
||||
indent(out) << "read_"<<sname<<" iprot = do" << endl;
|
||||
indent_up();
|
||||
indent(out) << "readStructBegin iprot" << endl;
|
||||
indent(out) << "_ <- readStructBegin iprot" << endl;
|
||||
indent(out) << "rec <- read_"<<sname<<"_fields iprot ("<<sname<<"{";
|
||||
bool first = true;
|
||||
for (f_iter = fields.begin(); f_iter != fields.end(); ++f_iter) {
|
||||
|
Loading…
Reference in New Issue
Block a user