Pārlūkot izejas kodu

hashed_string: minor changes

Michele Caini 4 gadi atpakaļ
vecāks
revīzija
28aa35160d
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      src/entt/core/hashed_string.hpp

+ 4 - 4
src/entt/core/hashed_string.hpp

@@ -313,8 +313,8 @@ inline namespace literals {
  * @param str The literal without its suffix.
  * @param str The literal without its suffix.
  * @return A properly initialized hashed string.
  * @return A properly initialized hashed string.
  */
  */
-[[nodiscard]] constexpr entt::hashed_string operator"" _hs(const char *str, std::size_t) ENTT_NOEXCEPT {
-    return entt::hashed_string{str};
+[[nodiscard]] constexpr hashed_string operator"" _hs(const char *str, std::size_t) ENTT_NOEXCEPT {
+    return hashed_string{str};
 }
 }
 
 
 /**
 /**
@@ -322,8 +322,8 @@ inline namespace literals {
  * @param str The literal without its suffix.
  * @param str The literal without its suffix.
  * @return A properly initialized hashed wstring.
  * @return A properly initialized hashed wstring.
  */
  */
-[[nodiscard]] constexpr entt::hashed_wstring operator"" _hws(const wchar_t *str, std::size_t) ENTT_NOEXCEPT {
-    return entt::hashed_wstring{str};
+[[nodiscard]] constexpr hashed_wstring operator"" _hws(const wchar_t *str, std::size_t) ENTT_NOEXCEPT {
+    return hashed_wstring{str};
 }
 }
 
 
 } // namespace literals
 } // namespace literals