We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d76a780 commit b6d4229Copy full SHA for b6d4229
1 file changed
src/iceberg/util/string_util.h
@@ -46,8 +46,7 @@ class ICEBERG_EXPORT StringUtils {
46
}
47
48
static bool EqualsIgnoreCase(const std::string& a, const std::string& b) {
49
- return a.size() == b.size() &&
50
- std::equal(a.begin(), a.end(), b.begin(), [](char ca, char cb) {
+ return a.size() == b.size() && std::ranges::equal(a, b, [](char ca, char cb) {
51
return std::tolower(ca) == std::tolower(cb);
52
});
53
0 commit comments