浏览代码

Fixed build error

yhirose 5 年之前
父节点
当前提交
0e3925db3f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -2142,7 +2142,7 @@ inline constexpr unsigned int str2tag_core(const char *s, size_t l,
                                  (h * 33) ^ static_cast<unsigned char>(*s));
 }
 
-inline constexpr unsigned int str2tag(const std::string &s) {
+inline unsigned int str2tag(const std::string &s) {
   return str2tag_core(s.data(), s.size(), 0);
 }