skypjack 22 часов назад
Родитель
Сommit
486f02dcb0
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      src/entt/core/enum.hpp

+ 5 - 5
src/entt/core/enum.hpp

@@ -48,19 +48,19 @@ concept enum_bitmask = std::is_enum_v<Type> && enum_as_bitmask_v<Type>;
  */
 template<entt::enum_bitmask Type>
 [[nodiscard]] constexpr Type operator|(const Type lhs, const Type rhs) noexcept {
-    return static_cast<Type>(static_cast<stl::underlying_type_t<Type>>(lhs) | static_cast<stl::underlying_type_t<Type>>(rhs));
+    return static_cast<Type>(static_cast<entt::stl::underlying_type_t<Type>>(lhs) | static_cast<entt::stl::underlying_type_t<Type>>(rhs));
 }
 
 /*! @copydoc operator| */
 template<entt::enum_bitmask Type>
 [[nodiscard]] constexpr Type operator&(const Type lhs, const Type rhs) noexcept {
-    return static_cast<Type>(static_cast<stl::underlying_type_t<Type>>(lhs) & static_cast<stl::underlying_type_t<Type>>(rhs));
+    return static_cast<Type>(static_cast<entt::stl::underlying_type_t<Type>>(lhs) & static_cast<entt::stl::underlying_type_t<Type>>(rhs));
 }
 
 /*! @copydoc operator| */
 template<entt::enum_bitmask Type>
 [[nodiscard]] constexpr Type operator^(const Type lhs, const Type rhs) noexcept {
-    return static_cast<Type>(static_cast<stl::underlying_type_t<Type>>(lhs) ^ static_cast<stl::underlying_type_t<Type>>(rhs));
+    return static_cast<Type>(static_cast<entt::stl::underlying_type_t<Type>>(lhs) ^ static_cast<entt::stl::underlying_type_t<Type>>(rhs));
 }
 
 /**
@@ -72,13 +72,13 @@ template<entt::enum_bitmask Type>
  */
 template<entt::enum_bitmask Type>
 [[nodiscard]] constexpr Type operator~(const Type value) noexcept {
-    return static_cast<Type>(~static_cast<stl::underlying_type_t<Type>>(value));
+    return static_cast<Type>(~static_cast<entt::stl::underlying_type_t<Type>>(value));
 }
 
 /*! @copydoc operator~ */
 template<entt::enum_bitmask Type>
 [[nodiscard]] constexpr bool operator!(const Type value) noexcept {
-    return !static_cast<stl::underlying_type_t<Type>>(value);
+    return !static_cast<entt::stl::underlying_type_t<Type>>(value);
 }
 
 /*! @copydoc operator| */