Skip to content

Commit 932b1cb

Browse files
authored
Fix shadow parameter warning (#1936)
1 parent de36ea7 commit 932b1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httplib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ inline unsigned char to_lower(int c) {
366366
inline bool equal(const std::string &a, const std::string &b) {
367367
return a.size() == b.size() &&
368368
std::equal(a.begin(), a.end(), b.begin(),
369-
[](char a, char b) { return to_lower(a) == to_lower(b); });
369+
[](char ca, char cb) { return to_lower(ca) == to_lower(cb); });
370370
}
371371

372372
struct equal_to {

0 commit comments

Comments
 (0)