Fix shadowing warnings

fix #510
This commit is contained in:
Vinnie Falco
2017-07-20 08:15:27 -07:00
parent 65932ee343
commit 8f627b0748
15 changed files with 99 additions and 97 deletions
+4 -4
View File
@@ -207,15 +207,15 @@ public:
// base
{
static_buffer_n<10> b;
[&](static_buffer& b)
[&](static_buffer& base)
{
BEAST_EXPECT(b.max_size() == b.capacity());
BEAST_EXPECT(base.max_size() == b.capacity());
}
(b.base());
[&](static_buffer const&)
[&](static_buffer const& base)
{
BEAST_EXPECT(b.max_size() == b.capacity());
BEAST_EXPECT(base.max_size() == b.capacity());
}
(b.base());
}