Skip to content

Commit b713a3a

Browse files
authored
fix MSVC2015 error: std::tolower to ::lower (#689)
1 parent 7e8db1d commit b713a3a

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
@@ -1229,7 +1229,7 @@ inline std::string from_i_to_hex(size_t n) {
12291229
inline bool start_with(const std::string &a, const std::string &b) {
12301230
if (a.size() < b.size()) { return false; }
12311231
for (size_t i = 0; i < b.size(); i++) {
1232-
if (std::tolower(a[i]) != std::tolower(b[i])) { return false; }
1232+
if (::tolower(a[i]) != ::tolower(b[i])) { return false; }
12331233
}
12341234
return true;
12351235
}

0 commit comments

Comments
 (0)