From f884a56258475df626d91e06398f856891a76a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Bostr=C3=B6m?= Date: Tue, 15 Oct 2024 12:32:13 +1100 Subject: [PATCH] Remove space between operator"" and _t (#1962) 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 99112b9063..e81e7ef0ed 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); }