Kaynağa Gözat

any: minor changes

Michele Caini 5 yıl önce
ebeveyn
işleme
1b53e83dde
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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; };
 };