From 3b78610a387e22016cf60bb84c6ff249f6c4d7bb Mon Sep 17 00:00:00 2001 From: Timothy Langlois Date: Sun, 3 Nov 2024 23:14:09 -0800 Subject: [PATCH] hashed_string: remove extra spaces (#1190) --- src/entt/core/hashed_string.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entt/core/hashed_string.hpp b/src/entt/core/hashed_string.hpp index d47f34ad1..4c4bdd443 100644 --- a/src/entt/core/hashed_string.hpp +++ b/src/entt/core/hashed_string.hpp @@ -291,7 +291,7 @@ inline namespace literals { * @param str The literal without its suffix. * @return A properly initialized hashed string. */ -[[nodiscard]] constexpr hashed_string operator"" _hs(const char *str, std::size_t) noexcept { +[[nodiscard]] constexpr hashed_string operator""_hs(const char *str, std::size_t) noexcept { return hashed_string{str}; } @@ -300,7 +300,7 @@ inline namespace literals { * @param str The literal without its suffix. * @return A properly initialized hashed wstring. */ -[[nodiscard]] constexpr hashed_wstring operator"" _hws(const wchar_t *str, std::size_t) noexcept { +[[nodiscard]] constexpr hashed_wstring operator""_hws(const wchar_t *str, std::size_t) noexcept { return hashed_wstring{str}; }