Fix shadowing warnings

fix #510
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:27 -07:00
1 parent 65932ee343
commit 8f627b0748
15 files changed
+99 -97

No files matched your search

+5 -5
View File
@@ -63,18 +63,18 @@ public:
BEAST_EXPECTS(got == s, fmt(got));
};
auto const cs =
[&](std::string const& s, std::string const& good)
[&](std::string const& s, std::string const& answer)
{
ce(good);
ce(answer);
auto const got = str(param_list{s});
ce(got);
BEAST_EXPECTS(got == good, fmt(got));
BEAST_EXPECTS(got == answer, fmt(got));
};
auto const cq =
[&](std::string const& s, std::string const& good)
[&](std::string const& s, std::string const& answer)
{
auto const got = str(param_list{s});
BEAST_EXPECTS(got == good, fmt(got));
BEAST_EXPECTS(got == answer, fmt(got));
};
ce("");