Skip to content

Commit

Permalink
foros: modified return type
Browse files Browse the repository at this point in the history
Signed-off-by: Taehun Lim <thlim@robotis.com>
  • Loading branch information
Taehun Lim committed Oct 16, 2022
1 parent 99f059c commit 74dcc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foros/test/test_raft.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class TestContext : public akit::failover::foros::raft::Context {
request->prev_log_index = prev_log_index;
request->prev_log_term = prev_log_term;
request->entries = entries;
return append_entries_->async_send_request(request);
return append_entries_->async_send_request(request).future.share();
}

private:
Expand Down

0 comments on commit 74dcc3d

Please sign in to comment.