소스 검색

Fixed build error

yhirose 1 년 전
부모
커밋
9ff3ff9446
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -356,7 +356,7 @@ struct case_ignore_equal {
 };
 
 struct case_ignore_hash {
-  constexpr size_t operator()(std::string_view key) const {
+  constexpr size_t operator()(const std::string &key) const {
     return hash_core(key.data(), key.size(), 0);
   }