Fix shadowing warnings

fix #510
This commit is contained in:
Vinnie Falco
2017-06-18 14:57:32 -07:00
parent 65932ee343
commit 8f627b0748
15 changed files with 99 additions and 97 deletions

View File

@@ -120,9 +120,9 @@ public:
flat_buffer buffer;
relay<true>(upstream.client, downstream.server, buffer, ec,
[&](header<true, fields>& h, error_code& ec)
[&](header<true, fields>& h, error_code& ev)
{
ec = {};
ev = {};
h.erase("Content-Length");
h.set("Transfer-Encoding", "chunked");
});