Просмотр исходного кода

meta: drop redundant member init

Michele Caini 1 год назад
Родитель
Сommit
09c11f9324
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/entt/meta/meta.hpp

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

@@ -1672,7 +1672,7 @@ public:
 private:
     const meta_ctx *ctx{};
     vtable_type *vtable{};
-    any handle{};
+    any handle;
 };
 
 class meta_associative_container::meta_iterator final {
@@ -1744,7 +1744,7 @@ public:
 private:
     const meta_ctx *ctx{};
     vtable_type *vtable{};
-    any handle{};
+    any handle;
 };
 /*! @endcond */