Procházet zdrojové kódy

any: make VS happy :)

Michele Caini před 5 roky
rodič
revize
550c021097
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/entt/core/any.hpp

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

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