diff --git a/src/entt/signal/delegate.hpp b/src/entt/signal/delegate.hpp index 4da3f3910..fad525a23 100644 --- a/src/entt/signal/delegate.hpp +++ b/src/entt/signal/delegate.hpp @@ -340,12 +340,11 @@ delegate(connect_arg_t) ENTT_NOEXCEPT * It allows to deduce the function type of the delegate directly from a member * or a free function with payload provided to the constructor. * - * @param value_or_instance A valid reference that fits the purpose. * @tparam Candidate Member or free function to connect to the delegate. * @tparam Type Type of class or type of payload. */ template -delegate(connect_arg_t, Type &value_or_instance) ENTT_NOEXCEPT +delegate(connect_arg_t, Type &) ENTT_NOEXCEPT -> delegate>>; @@ -355,12 +354,11 @@ delegate(connect_arg_t, Type &value_or_instance) ENTT_NOEXCEPT * It allows to deduce the function type of the delegate directly from a member * or a free function with payload provided to the constructor. * - * @param value_or_instance A valid pointer that fits the purpose. * @tparam Candidate Member or free function to connect to the delegate. * @tparam Type Type of class or type of payload. */ template -delegate(connect_arg_t, Type *value_or_instance) ENTT_NOEXCEPT +delegate(connect_arg_t, Type *) ENTT_NOEXCEPT -> delegate>>;