From c3d4e0dcacf865483b60f0c6bd94f65aca174451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Bostr=C3=B6m?= Date: Mon, 14 Oct 2024 13:33:29 +1100 Subject: [PATCH] Remove space between operator"" and _t This should fix a -Wdeprecated-literal-operator instance since this is deprecated as a result of CWG2521 (iiuc C++23). --- httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httplib.h b/httplib.h index 99112b9..e81e7ef 100644 --- a/httplib.h +++ b/httplib.h @@ -3760,7 +3760,7 @@ inline unsigned int str2tag(const std::string &s) { namespace udl { -inline constexpr unsigned int operator"" _t(const char *s, size_t l) { +inline constexpr unsigned int operator""_t(const char *s, size_t l) { return str2tag_core(s, l, 0); }