Przeglądaj źródła

type_list is now an empty type

Michele Caini 7 lat temu
rodzic
commit
d3078699d6
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      src/entt/core/type_traits.hpp

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

@@ -2,7 +2,6 @@
 #define ENTT_CORE_TYPE_TRAITS_HPP
 #define ENTT_CORE_TYPE_TRAITS_HPP
 
 
 
 
-#include <tuple>
 #include <type_traits>
 #include <type_traits>
 #include "../core/hashed_string.hpp"
 #include "../core/hashed_string.hpp"
 
 
@@ -12,7 +11,7 @@ namespace entt {
 
 
 /*! @brief A class to use to push around lists of types, nothing more. */
 /*! @brief A class to use to push around lists of types, nothing more. */
 template<typename... Type>
 template<typename... Type>
-using type_list = std::tuple<Type *...>;
+struct type_list {};
 
 
 
 
 /*! @brief Traits class used mainly to push things across boundaries. */
 /*! @brief Traits class used mainly to push things across boundaries. */