[libsigcplusplus/variadic_mem_fun3: 130/148] limit_reference.h.m4: Remove unused 2nd LIMIT_REFERENCE() parameter.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus/variadic_mem_fun3: 130/148] limit_reference.h.m4: Remove unused 2nd LIMIT_REFERENCE() parameter.
- Date: Mon, 7 Mar 2016 10:08:44 +0000 (UTC)
commit a299840240b8295b35ed61efa27e240c03a0bc60
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Mar 5 11:43:28 2016 +0100
limit_reference.h.m4: Remove unused 2nd LIMIT_REFERENCE() parameter.
sigc++/macros/limit_reference.h.m4 | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/sigc++/macros/limit_reference.h.m4 b/sigc++/macros/limit_reference.h.m4
index cdd0c5c..e3f865a 100644
--- a/sigc++/macros/limit_reference.h.m4
+++ b/sigc++/macros/limit_reference.h.m4
@@ -40,7 +40,7 @@ define([LIMIT_REFERENCE],[dnl
* - @e T_type The type of the reference.
*/
template <class T_type>
-using [$1]limit_reference = limit_reference_base<[$3]T_type>;
+using [$1]limit_reference = limit_reference_base<[$2]T_type>;
])
divert(0)
@@ -176,16 +176,13 @@ struct visitor<limit_reference_base<T_type> >
-LIMIT_REFERENCE([],[],[])dnl
+LIMIT_REFERENCE([],[])dnl
+LIMIT_REFERENCE([const_],[const ])dnl
-LIMIT_REFERENCE([const_],[const ],[const ])dnl
+LIMIT_REFERENCE([volatile_],[volatile ])dnl
-
-LIMIT_REFERENCE([volatile_],[],[volatile ])dnl
-
-
-LIMIT_REFERENCE([const_volatile_],[const ],[const volatile ])dnl
+LIMIT_REFERENCE([const_volatile_],[const volatile ])dnl
} /* namespace sigc */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]