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}); }