skypjack 17 часов назад
Родитель
Сommit
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
  */
 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.

+ 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_empty_v;
 using std::is_enum_v;
+using std::is_final_v;
 using std::is_function_v;
 using std::is_invocable;
 using std::is_invocable_r;