Skip to content

Commit 470c3b7

Browse files
committed
signal: make_slot(): Use non-deprecated constructor.
1 parent 5ff7fed commit 470c3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigc++/macros/signal.h.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ FOR(1, $1,[
379379
* @return A functor that calls emit() on this signal.
380380
*/
381381
bound_const_mem_functor$1<LIST(result_type, signal$1, LOOP(type_trait_take_t<T_arg%1>, $1))> make_slot() const
382-
{ return bound_const_mem_functor$1<LIST(result_type, signal$1, LOOP(type_trait_take_t<T_arg%1>, $1))>(this, &signal$1::emit); }
382+
{ return bound_const_mem_functor$1<LIST(result_type, signal$1, LOOP(type_trait_take_t<T_arg%1>, $1))>(*this, &signal$1::emit); }
383383
384384
/** Creates an STL-style interface for the signal's list of slots.
385385
* This interface supports iteration, insertion and removal of slots.

0 commit comments

Comments
 (0)