[libsigcplusplus/libsigc++-2-8] signal: make_slot(): Use non-deprecated constructor.



commit 470c3b779f76bcceac9a78cf97e465622f3e7838
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Mar 10 19:47:33 2016 +0100

    signal: make_slot(): Use non-deprecated constructor.

 sigc++/macros/signal.h.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sigc++/macros/signal.h.m4 b/sigc++/macros/signal.h.m4
index b9e2a2b..157128a 100644
--- a/sigc++/macros/signal.h.m4
+++ b/sigc++/macros/signal.h.m4
@@ -379,7 +379,7 @@ FOR(1, $1,[
    * @return A functor that calls emit() on this signal.
    */
   bound_const_mem_functor$1<LIST(result_type, signal$1, LOOP(type_trait_take_t<T_arg%1>, $1))> make_slot() 
const
-    { return bound_const_mem_functor$1<LIST(result_type, signal$1, LOOP(type_trait_take_t<T_arg%1>, 
$1))>(this, &signal$1::emit); }
+    { return bound_const_mem_functor$1<LIST(result_type, signal$1, LOOP(type_trait_take_t<T_arg%1>, 
$1))>(*this, &signal$1::emit); }
 
   /** Creates an STL-style interface for the signal's list of slots.
    * This interface supports iteration, insertion and removal of slots.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]