Explorar o código

any: make VS happy :)

Michele Caini %!s(int64=5) %!d(string=hai) anos
pai
achega
550c021097
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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{}; };
 };