From 5016dd8bb0cb878574ab0cdeed8a5f8028f50669 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 23 Nov 2023 15:21:34 +0100 Subject: [PATCH] test: try to make gcc happy again --- test/entt/entity/sigh_mixin.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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