Skip to content

Commit

Permalink
Merge pull request #7 from sogou/master
Browse files Browse the repository at this point in the history
merge from sogou/srpc master
  • Loading branch information
holmes1412 authored Mar 27, 2021
2 parents 099349c + 75bfb7c commit a2aca9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/generator/generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,10 @@ void Generator::generate_srpc_file(const idl_info& cur_info)
{
this->printer.print_client_constructor(type, desc.block_name,
cur_info.package_name);
this->printer.print_client_methods(type, desc.block_name, desc.rpcs);
this->printer.print_client_create_task(type, desc.block_name, desc.rpcs);
this->printer.print_client_methods(type, desc.block_name, desc.rpcs,
cur_info.package_name);
this->printer.print_client_create_task(type, desc.block_name,
desc.rpcs, cur_info.package_name);
}

this->printer.print_service_namespace_end(desc.block_name);
Expand Down

0 comments on commit a2aca9b

Please sign in to comment.