mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix shadowing variables
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user