Skip to content

Commit

Permalink
Merge pull request #828 from redboltz/fix_invalid_do_async_write
Browse files Browse the repository at this point in the history
Fixed argument mismatch.
  • Loading branch information
redboltz authored Aug 11, 2021
2 parents ef2524c + a38cbf8 commit 18ea78f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/mqtt/endpoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10828,7 +10828,10 @@ class endpoint : public std::enable_shared_from_this<endpoint<Mutex, LockGuard,
);
return;
}
do_async_write(force_move(msg));
do_async_write(
force_move(msg),
force_move(func)
);
} break;
case protocol_version::v5:
BOOST_ASSERT(false);
Expand Down

0 comments on commit 18ea78f

Please sign in to comment.