Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 932b1cb

Browse files
Fix shadow parameter warning (yhirose#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)

AltStyle によって変換されたページ (->オリジナル) /