Jelajahi Sumber

any: make VS happy :)

Michele Caini 5 tahun lalu
induk
melakukan
550c021097
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/entt/core/any.hpp

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

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