indent() <<
indent() << "__isset." << (*m_iter)->get_name() << " = true;" << endl;
}
- out <<
+ out <<
indent()<< "}" << endl;
}
out << endl;
out <<
indent() << "template <class Protocol_>" << endl;
}
+ const bool unnamed_oprot_seqid = tfunction->is_oneway() &&
+ !(gen_templates_ && !specialized);
out <<
"void " << tservice->get_name() << "Processor" << class_suffix << "::" <<
"process_" << tfunction->get_name() << "(" <<
- "int32_t" << (tfunction->is_oneway() ? ", " : " seqid, ") <<
+ "int32_t" << (unnamed_oprot_seqid ? ", " : " seqid, ") <<
prot_type << "* iprot, " <<
- prot_type << "*" << (tfunction->is_oneway() ? ", " : " oprot, ")
- << "void* callContext)" << endl;
+ prot_type << "*" << (unnamed_oprot_seqid ? ", " : " oprot, ") <<
+ "void* callContext)" << endl;
scope_up(out);
if (gen_templates_ && !specialized) {