From 8372849fa90e04c6991d4d535a52b54cef71fb6d Mon Sep 17 00:00:00 2001 From: Jean-Francois Simoneau Date: Thu, 12 Sep 2024 14:47:47 +0000 Subject: [PATCH] Fix shadow parameter warning --- httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httplib.h b/httplib.h index bc8cae2f13..675609f844 100644 --- a/httplib.h +++ b/httplib.h @@ -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 {