1
0
yhirose 1 жил өмнө
parent
commit
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);
   }