From 550c0210975fa6d6d3603ee9c0a5fc1a016abfbb Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 19 Feb 2021 14:56:39 +0100 Subject: [PATCH] any: make VS happy :) --- src/entt/core/any.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/core/any.hpp b/src/entt/core/any.hpp index 984adb441..74cd2e7dc 100644 --- a/src/entt/core/any.hpp +++ b/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{}; }; };