workaround for an issue of VS2017 (close #316)

This commit is contained in:
Michele Caini
2019-09-12 22:11:08 +02:00
parent cc41caede9
commit fbdbe848c5

View File

@@ -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