mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-29 06:18:39 +02:00
io_context cleanups
This commit is contained in:
parent
945e19a4eb
commit
bdc6299523
11 changed files with 18 additions and 26 deletions
|
@ -93,7 +93,7 @@ bool PendingRequest::operator<(const PendingRequest& other) const
|
|||
|
||||
|
||||
ClientConnection::ClientConnection(boost::asio::io_context& io_context, const ClientSettings::Server& server)
|
||||
: io_context_(io_context), strand_(boost::asio::make_strand(io_context_.get_executor())), resolver_(strand_), socket_(strand_), reqId_(1), server_(server)
|
||||
: strand_(boost::asio::make_strand(io_context.get_executor())), resolver_(strand_), socket_(strand_), reqId_(1), server_(server)
|
||||
{
|
||||
base_msg_size_ = base_message_.getSize();
|
||||
buffer_.resize(base_msg_size_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue