diff --git a/src/entt/entity/helper.hpp b/src/entt/entity/helper.hpp index 1608701ae..07d0cddf4 100644 --- a/src/entt/entity/helper.hpp +++ b/src/entt/entity/helper.hpp @@ -89,7 +89,7 @@ private: * @param reg A registry that contains the given entity and its components. * @param entt Entity from which to get the component. */ -template> +template>>> void invoke(Registry ®, const typename Registry::entity_type entt) { static_assert(std::is_member_function_pointer_v, "Invalid pointer to non-static member function"); delegate func;