[libsigc++2/variadic_mem_fun2] limit_reference.h.m4: Remove unused 2nd LIMIT_REFERENCE() parameter.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigc++2/variadic_mem_fun2] limit_reference.h.m4: Remove unused 2nd LIMIT_REFERENCE() parameter.
- Date: Sat, 5 Mar 2016 11:00:09 +0000 (UTC)
commit ac38734894e022829a48880955d203614b830d2a
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]