Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Mar 23, 2019
1 parent 70d7627 commit 17598a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/async_client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ namespace rest_rpc {
call_with_cb<true>(rpc_name, std::make_index_sequence<SIZE - 2>{},
std::forward_as_tuple(std::forward<Args>(args)...));
}
else {
auto future = get_future();
call_impl(rpc_name, std::forward<Args>(args)...);
return future;
}
}
else {
auto future = get_future();
Expand Down

0 comments on commit 17598a5

Please sign in to comment.