mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Fix shadowing in session_alloc
This commit is contained in:
@ -6,6 +6,7 @@ Version 126:
|
||||
* Tidy up unused variable warnings
|
||||
* Don't return end_of_stream on win32 file body writes
|
||||
* Fix doc typo
|
||||
* Fix shadowing in session_alloc
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <boost/asio/associated_executor.hpp>
|
||||
#include <boost/asio/handler_continuation_hook.hpp>
|
||||
#include <boost/assert.hpp>
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
#include <boost/intrusive/list.hpp>
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
@ -233,7 +234,7 @@ class session_alloc
|
||||
{
|
||||
// Can't friend partial specializations,
|
||||
// so we just friend the whole thing.
|
||||
template<class T, class Executor>
|
||||
template<class U, class Executor>
|
||||
friend struct boost::asio::associated_executor;
|
||||
|
||||
Handler h_;
|
||||
|
Reference in New Issue
Block a user