From e94dcae10c8add7f6592bcef84f7e01f3b83b6d6 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 24 Oct 2017 06:20:42 -0700 Subject: [PATCH] Fix shadowing in session_alloc --- CHANGELOG.md | 1 + example/common/session_alloc.hpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75d201ff..623fa242 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 -------------------------------------------------------------------------------- diff --git a/example/common/session_alloc.hpp b/example/common/session_alloc.hpp index 87b21b97..2250b69d 100644 --- a/example/common/session_alloc.hpp +++ b/example/common/session_alloc.hpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -233,7 +234,7 @@ class session_alloc { // Can't friend partial specializations, // so we just friend the whole thing. - template + template friend struct boost::asio::associated_executor; Handler h_;