From 87768dedf4095f9cb5d5b3586324becfde1bcf7b Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Sat, 17 May 2025 16:52:07 +0200 Subject: [PATCH] fix space between quotes and suffix is deprecated in C++23 warning --- src/const.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/const.h b/src/const.h index 4b70c76..3fcb3a9 100644 --- a/src/const.h +++ b/src/const.h @@ -13,7 +13,7 @@ inline constexpr auto hash_djb2a(const std::string_view sv) { return hash; } -inline constexpr auto operator"" _sh(const char* str, size_t len) { +inline constexpr auto operator""_sh(const char* str, size_t len) { return hash_djb2a(std::string_view{str, len}); }