From 12c4924a4b565508e1ed35f6564bb46ee52fbddc Mon Sep 17 00:00:00 2001 From: Kenneth Gorking Date: Thu, 29 Feb 2024 23:21:40 +0100 Subject: [PATCH] Fixed static function tripping up clang. --- include/ecs/detail/type_list.h | 2 +- include/ecs/ecs.ixx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)))>;