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