From 0e3925db3f19610c3ebee088ee21e43d3e92d6c0 Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 18 Dec 2020 00:07:48 +0000 Subject: [PATCH] Fixed build error --- httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httplib.h b/httplib.h index 1430e10..a5a614f 100644 --- a/httplib.h +++ b/httplib.h @@ -2142,7 +2142,7 @@ inline constexpr unsigned int str2tag_core(const char *s, size_t l, (h * 33) ^ static_cast(*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); }