Browse Source

workaround for an issue of VS2017 (close #316)

Michele Caini 6 years ago
parent
commit
fbdbe848c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/core/family.hpp

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

@@ -18,7 +18,7 @@ namespace entt {
  */
 template<typename...>
 class family {
-    inline static ENTT_MAYBE_ATOMIC(ENTT_ID_TYPE) identifier;
+    inline static ENTT_MAYBE_ATOMIC(ENTT_ID_TYPE) identifier{};
 
     template<typename...>
     // clang (since version 9) started to complain if auto is used instead of ENTT_ID_TYPE