Fix shadowing in session_alloc

This commit is contained in:
Vinnie Falco
2017-10-24 06:20:42 -07:00
parent c4bef9cc29
commit e94dcae10c
2 changed files with 3 additions and 1 deletions

View File

@ -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
--------------------------------------------------------------------------------

View File

@ -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_;