浏览代码

Code format

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

+ 3 - 2
httplib.h

@@ -2982,8 +2982,9 @@ inline constexpr unsigned int str2tag_core(const char *s, size_t l,
              ? h
              : str2tag_core(
                    s + 1, l - 1,
-                   //unsets the 6 high bits of h, therefore no overflow happens
-                   (((std::numeric_limits<unsigned int>::max)() >> 6) & h * 33) ^
+                   // Unsets the 6 high bits of h, therefore no overflow happens
+                   (((std::numeric_limits<unsigned int>::max)() >> 6) &
+                    h * 33) ^
                        static_cast<unsigned char>(*s));
 }