Fix shadow parameter warning (#1936)

This commit is contained in:
Jean-Francois Simoneau authored and GitHub committed 2024-09-12 12:02:25 -04:00
1 parent de36ea7755
commit 932b1cbc32
1 file changed
+1 -1
+1 -1
View File
@@ -366,7 +366,7 @@ inline unsigned char to_lower(int c) {
inline bool equal(const std::string &a, const std::string &b) { inline bool equal(const std::string &a, const std::string &b) {
return a.size() == b.size() && return a.size() == b.size() &&
std::equal(a.begin(), a.end(), b.begin(), 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 { struct equal_to {