Skip to content

Commit

Permalink
post-ack: Fix post_ack_mechanism::post for move-only types
Browse files Browse the repository at this point in the history
  • Loading branch information
qookei committed Feb 7, 2024
1 parent 4da44b4 commit 3350640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/async/post-ack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ struct post_ack_mechanism {

struct [[nodiscard]] post_sender {
friend sender_awaiter<post_sender> operator co_await (post_sender sender) {
return {sender};
return {std::move(sender)};
}

template<typename R>
Expand Down

0 comments on commit 3350640

Please sign in to comment.