diff --git a/test/entt/entity/sigh_mixin.cpp b/test/entt/entity/sigh_mixin.cpp index 5de9f9191..e9e4ed268 100644 --- a/test/entt/entity/sigh_mixin.cpp +++ b/test/entt/entity/sigh_mixin.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include #include @@ -23,9 +24,9 @@ void listener(std::size_t &counter, Registry &, typename Registry::entity_type) struct custom_registry: entt::basic_registry {}; -template -struct entt::storage_type { - using type = entt::basic_sigh_mixin, custom_registry>; +template +struct entt::storage_type, std::enable_if_t>> { + using type = entt::basic_sigh_mixin, custom_registry>; }; template