diff --git a/include/ecs/detail/type_list.h b/include/ecs/detail/type_list.h index a83fd640..79c35ea3 100644 --- a/include/ecs/detail/type_list.h +++ b/include/ecs/detail/type_list.h @@ -198,7 +198,7 @@ namespace impl { }; template - static constexpr type_list* add_type(type_list*) ECS_NULLBODY + constexpr type_list* add_type(type_list*) ECS_NULLBODY template using add_type_t = std::remove_pointer_t(static_cast(nullptr)))>; diff --git a/include/ecs/ecs.ixx b/include/ecs/ecs.ixx index e90092a8..5f9f862b 100644 --- a/include/ecs/ecs.ixx +++ b/include/ecs/ecs.ixx @@ -596,7 +596,7 @@ namespace impl { }; template - static constexpr type_list* add_type(type_list*) ECS_NULLBODY + constexpr type_list* add_type(type_list*) ECS_NULLBODY template using add_type_t = std::remove_pointer_t(static_cast(nullptr)))>;