mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fix shadow parameter warning (#1936)
This commit is contained in:
parent
de36ea7755
commit
932b1cbc32
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ inline unsigned char to_lower(int c) {
|
|||
inline bool equal(const std::string &a, const std::string &b) {
|
||||
return a.size() == b.size() &&
|
||||
std::equal(a.begin(), a.end(), b.begin(),
|
||||
[](char a, char b) { return to_lower(a) == to_lower(b); });
|
||||
[](char ca, char cb) { return to_lower(ca) == to_lower(cb); });
|
||||
}
|
||||
|
||||
struct equal_to {
|
||||
|
|
Loading…
Reference in a new issue