Explorar o código

type_list is now an empty type

Michele Caini %!s(int64=7) %!d(string=hai) anos
pai
achega
d3078699d6
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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
 
 
-#include <tuple>
 #include <type_traits>
 #include "../core/hashed_string.hpp"
 
@@ -12,7 +11,7 @@ namespace entt {
 
 /*! @brief A class to use to push around lists of types, nothing more. */
 template<typename... Type>
-using type_list = std::tuple<Type *...>;
+struct type_list {};
 
 
 /*! @brief Traits class used mainly to push things across boundaries. */