skypjack пре 19 часа
родитељ
комит
b75a7191f8
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 1
      src/entt/core/type_traits.hpp
  2. 1 0
      src/entt/stl/type_traits.hpp

+ 1 - 1
src/entt/core/type_traits.hpp

@@ -690,7 +690,7 @@ inline constexpr bool is_iterator_v = is_iterator<Type>::value;
  * @tparam Type The type to test
  * @tparam Type The type to test
  */
  */
 template<typename Type>
 template<typename Type>
-struct is_ebco_eligible: stl::bool_constant<stl::is_empty_v<Type> && !std::is_final_v<Type>> {};
+struct is_ebco_eligible: stl::bool_constant<stl::is_empty_v<Type> && !stl::is_final_v<Type>> {};
 
 
 /**
 /**
  * @brief Helper variable template.
  * @brief Helper variable template.

+ 1 - 0
src/entt/stl/type_traits.hpp

@@ -23,6 +23,7 @@ using std::is_copy_constructible_v;
 using std::is_default_constructible_v;
 using std::is_default_constructible_v;
 using std::is_empty_v;
 using std::is_empty_v;
 using std::is_enum_v;
 using std::is_enum_v;
+using std::is_final_v;
 using std::is_function_v;
 using std::is_function_v;
 using std::is_invocable;
 using std::is_invocable;
 using std::is_invocable_r;
 using std::is_invocable_r;