Fix shadowing variables

This commit is contained in:
seelabs
2019-08-13 14:26:02 -07:00
parent 014df67fed
commit b9e73b4852
55 changed files with 460 additions and 444 deletions

View File

@@ -117,9 +117,9 @@ populate (Section const& section, std::string const& field, std::ostream& log,
auto const& address = addr.first.address();
if (std::find_if (admin_ip.begin(), admin_ip.end(),
[&address] (beast::IP::Address const& ip)
[&address] (beast::IP::Address const& a)
{
return address == ip;
return address == a;
}
) != admin_ip.end())
{