ソースを参照

any: make VS happy :)

Michele Caini 5 年 前
コミット
550c021097
1 ファイル変更1 行追加1 行削除
  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{}; };
 };