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

@@ -83,9 +83,9 @@ struct iless
using std::end;
return std::lexicographical_compare(
begin(lhs), end(lhs), begin(rhs), end(rhs),
[](char lhs, char rhs)
[](char c1, char c2)
{
return detail::ascii_tolower(lhs) < detail::ascii_tolower(rhs);
return detail::ascii_tolower(c1) < detail::ascii_tolower(c2);
}
);
}