Przeglądaj źródła

meta: drop redundant member init

Michele Caini 1 rok temu
rodzic
commit
0592c4e4e6
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/entt/meta/meta.hpp

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

@@ -643,7 +643,7 @@ public:
     }
 
 private:
-    any storage{};
+    any storage;
     const meta_ctx *ctx{&locator<meta_ctx>::value_or()};
     internal::meta_type_node node{};
     vtable_type *vtable{};
@@ -786,7 +786,7 @@ struct meta_handle {
     }
 
 private:
-    meta_any any{};
+    meta_any any;
 };
 
 /*! @brief Opaque wrapper for user defined data of any type. */