Skip to content

Commit 7df87c4

Browse files
committed
slot.h.m4: Slight reorganisation of m4 code.
1 parent a625175 commit 7df87c4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sigc++/functors/macros/slot.h.m4

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ FOR(1,$1,[
189189
*
190190
* @ingroup slot
191191
*/
192-
template <LIST(class T_return, LOOP(class T_arg%1 = nil, $1))>],[dnl
192+
template <LIST(class T_return, LOOP(class T_arg%1 = nil, $1))>
193+
class slot],[dnl
193194
194195
/** Convenience wrapper for the numbered sigc::slot$1 template.
195196
* See the base class for useful methods.
@@ -199,8 +200,8 @@ template <LIST(class T_return, LOOP(class T_arg%1 = nil, $1))>],[dnl
199200
dnl *
200201
dnl * @ingroup slot
201202
*/
202-
template <LIST(class T_return, LOOP(class T_arg%1, $1))>])
203-
class slot ifelse($1, $2,,[<LIST(T_return, LIST(LOOP(T_arg%1, $1), LOOP(nil, CALL_SIZE - $1)))>])
203+
template <LIST(class T_return, LOOP(class T_arg%1, $1))>
204+
class slot <LIST(T_return, LIST(LOOP(T_arg%1, $1), LOOP(nil, CALL_SIZE - $1)))>])
204205
: public slot$1<LIST(T_return, LOOP(T_arg%1, $1))>
205206
{
206207
public:

0 commit comments

Comments
 (0)