فهرست منبع

any: minor changes

Michele Caini 5 سال پیش
والد
کامیت
1b53e83dde
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/entt/core/any.hpp

+ 1 - 1
src/entt/core/any.hpp

@@ -320,7 +320,7 @@ public:
 
 private:
     vtable_type *vtable;
-    union { const void *instance; storage_type storage; };
+    union { const void *instance = nullptr; storage_type storage; };
 };