Browse Source

meta: cleanup/minor changes

Michele Caini 5 years ago
parent
commit
a53066424b
2 changed files with 3 additions and 3 deletions
  1. 1 0
      src/entt/meta/meta.hpp
  2. 2 3
      src/entt/meta/node.hpp

+ 1 - 0
src/entt/meta/meta.hpp

@@ -1536,6 +1536,7 @@ public:
         node->id = {};
         node->ctor = node->def_ctor;
         node->dtor = nullptr;
+        node->next = nullptr;
     }
 
 private:

+ 2 - 3
src/entt/meta/node.hpp

@@ -11,7 +11,6 @@
 #include "../core/fwd.hpp"
 #include "../core/type_info.hpp"
 #include "../core/type_traits.hpp"
-#include "adl_pointer.hpp"
 #include "type_traits.hpp"
 
 
@@ -248,8 +247,8 @@ public:
 };
 
 
-template<typename... Type>
-struct meta_info: meta_node<std::remove_cv_t<std::remove_reference_t<Type>>...> {};
+template<typename Type>
+struct meta_info: meta_node<std::remove_cv_t<std::remove_reference_t<Type>>> {};
 
 
 }