forked from boostorg/beast
@@ -353,7 +353,7 @@ public:
|
||||
allocator_type
|
||||
get_allocator() const noexcept
|
||||
{
|
||||
return boost::asio::get_associated_allocator(handler_);
|
||||
return (boost::asio::get_associated_allocator)(handler_);
|
||||
}
|
||||
|
||||
// Executor hook. This is Asio's system for customizing the
|
||||
@@ -367,7 +367,7 @@ public:
|
||||
|
||||
executor_type get_executor() const noexcept
|
||||
{
|
||||
return boost::asio::get_associated_executor(handler_, stream_.get_executor());
|
||||
return (boost::asio::get_associated_executor)(handler_, stream_.get_executor());
|
||||
}
|
||||
|
||||
// Determines if the next asynchronous operation represents a
|
||||
|
||||
@@ -154,7 +154,7 @@ public:
|
||||
allocator_type
|
||||
get_allocator() const noexcept
|
||||
{
|
||||
return boost::asio::get_associated_allocator(p_.handler());
|
||||
return (boost::asio::get_associated_allocator)(p_.handler());
|
||||
}
|
||||
|
||||
// Executor hook. This is Asio's system for customizing the
|
||||
@@ -168,7 +168,7 @@ public:
|
||||
|
||||
executor_type get_executor() const noexcept
|
||||
{
|
||||
return boost::asio::get_associated_executor(
|
||||
return (boost::asio::get_associated_executor)(
|
||||
p_.handler(), p_->stream.get_executor());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user