From 0486d9fb22c510b69199a6e14a13cdd8689ed38d Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Sat, 24 May 2025 10:18:59 +0200 Subject: [PATCH] fix space before operator warning --- src/const.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/const.h b/src/const.h index 07879d3..57f628b 100644 --- a/src/const.h +++ b/src/const.h @@ -12,7 +12,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}); }