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



commit a3d87bfacfdcc703369bbb865ffb5b48f5c9c37f
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Mar 12 17:09:49 2016 +0100

    signal.h.m4: Slight reorganization of m4 code.

 sigc++/macros/signal.h.m4 |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/sigc++/macros/signal.h.m4 b/sigc++/macros/signal.h.m4
index 98a28d5..b765e23 100644
--- a/sigc++/macros/signal.h.m4
+++ b/sigc++/macros/signal.h.m4
@@ -455,7 +455,8 @@ FOR(1,$1,[
  *
  * @ingroup signal
  */
-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 signal],[dnl
 
 /** Convenience wrapper for the numbered sigc::signal$1 template.
  * See the base class for useful methods.
@@ -466,8 +467,8 @@ ifelse($1, $2,[dnl
  * @ingroup signal
 ])dnl
  */
-template <LIST(class T_return, LOOP(class T_arg%1, $1))>])
-class signal ifelse($1, $2,,[<LIST(T_return, LOOP(T_arg%1,$1), LOOP(nil, CALL_SIZE - $1))>])
+template <LIST(class T_return, LOOP(class T_arg%1, $1))>
+class signal ifelse($1, $2,,[<LIST(T_return, LOOP(T_arg%1,$1), LOOP(nil, CALL_SIZE - $1))>])])
   : public signal$1<LIST(T_return, LOOP(T_arg%1, $1),nil)>
 {
 public:


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