Skip to content

Commit 9ff3ff9

Browse files
committed
Fixed build error
1 parent c75d071 commit 9ff3ff9

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
@@ -356,7 +356,7 @@ struct case_ignore_equal {
356356
};
357357

358358
struct case_ignore_hash {
359-
constexpr size_t operator()(std::string_view key) const {
359+
constexpr size_t operator()(const std::string &key) const {
360360
return hash_core(key.data(), key.size(), 0);
361361
}
362362

0 commit comments

Comments
 (0)