diff --git a/httplib.h b/httplib.h index a8bc856938..2196593ee5 100644 --- a/httplib.h +++ b/httplib.h @@ -355,7 +355,7 @@ struct case_ignore_equal { }; struct case_ignore_hash { - constexpr size_t operator()(const std::string &key) const { + size_t operator()(const std::string &key) const { return hash_core(key.data(), key.size(), 0); }