Răsfoiți Sursa

meta: def initialize nodes

Michele Caini 1 an în urmă
părinte
comite
8b5fd1ff2e
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/entt/meta/node.hpp

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

@@ -61,8 +61,8 @@ template<typename Type>
 struct meta_type_node;
 struct meta_type_node;
 
 
 struct meta_custom_node {
 struct meta_custom_node {
-    id_type type;
-    std::shared_ptr<void> data;
+    id_type type{};
+    std::shared_ptr<void> data{};
 };
 };
 
 
 struct meta_prop_node {
 struct meta_prop_node {