[libsigcplusplus/libsigc++-2-10] slot.h.m4: Slight reorganisation of m4 code.



commit 7df87c407ca9f465670c697bf0e0582e8646252a
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Mar 12 16:51:49 2016 +0100

    slot.h.m4: Slight reorganisation of m4 code.

 sigc++/functors/macros/slot.h.m4 |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/sigc++/functors/macros/slot.h.m4 b/sigc++/functors/macros/slot.h.m4
index 891bf3d..e0cf8c6 100644
--- a/sigc++/functors/macros/slot.h.m4
+++ b/sigc++/functors/macros/slot.h.m4
@@ -189,7 +189,8 @@ FOR(1,$1,[
  *
  * @ingroup slot
  */
-template <LIST(class T_return, LOOP(class T_arg%1 = nil, $1))>],[dnl
+template <LIST(class T_return, LOOP(class T_arg%1 = nil, $1))>
+class slot],[dnl
 
 /** Convenience wrapper for the numbered sigc::slot$1 template.
  * See the base class for useful methods.
@@ -199,8 +200,8 @@ template <LIST(class T_return, LOOP(class T_arg%1 = nil, $1))>],[dnl
 dnl *
 dnl * @ingroup slot
  */
-template <LIST(class T_return, LOOP(class T_arg%1, $1))>])
-class slot ifelse($1, $2,,[<LIST(T_return, LIST(LOOP(T_arg%1, $1), LOOP(nil, CALL_SIZE - $1)))>])
+template <LIST(class T_return, LOOP(class T_arg%1, $1))>
+class slot <LIST(T_return, LIST(LOOP(T_arg%1, $1), LOOP(nil, CALL_SIZE - $1)))>])
   : public slot$1<LIST(T_return, LOOP(T_arg%1, $1))>
 {
 public:


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