Przeglądaj źródła

Fixed build error

yhirose 1 rok temu
rodzic
commit
9ff3ff9446
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
   }