762
|
1 |
--- scim-1.4.7.orig/src/scim_slot.h 2007-10-09 00:42:09.000000000 +0800
|
|
2 |
+++ scim-1.4.7/src/scim_slot.h 2008-01-04 15:13:42.158361775 +0800
|
353
|
3 |
@@ -149,7 +149,7 @@
|
|
4 |
|
|
5 |
template <typename T1, typename T2, typename R>
|
|
6 |
inline Slot0<R>*
|
|
7 |
-slot(T1* &object, R (T2::*function)())
|
|
8 |
+slot(T1* object, R (T2::*function)())
|
|
9 |
{
|
|
10 |
return new MethodSlot0<T2, R>(object, function);
|
|
11 |
}
|
|
12 |
@@ -291,7 +291,7 @@
|
|
13 |
|
|
14 |
template <typename T1, typename T2, typename R, typename P1>
|
|
15 |
inline Slot1<R, P1>*
|
|
16 |
-slot(T1* &object, R (T2::*function)(P1))
|
|
17 |
+slot(T1* object, R (T2::*function)(P1))
|
|
18 |
{
|
|
19 |
return new MethodSlot1<T2, R, P1>(object, function);
|
|
20 |
}
|
|
21 |
@@ -434,7 +434,7 @@
|
|
22 |
|
|
23 |
template <typename T1, typename T2, typename R, typename P1, typename P2>
|
|
24 |
inline Slot2<R, P1, P2>*
|
|
25 |
-slot(T1* &object, R (T2::*function)(P1, P2))
|
|
26 |
+slot(T1* object, R (T2::*function)(P1, P2))
|
|
27 |
{
|
|
28 |
return new MethodSlot2<T2, R, P1, P2>(object, function);
|
|
29 |
}
|
|
30 |
@@ -577,7 +577,7 @@
|
|
31 |
|
|
32 |
template <typename T1, typename T2, typename R, typename P1, typename P2, typename P3>
|
|
33 |
inline Slot3<R, P1, P2, P3>*
|
|
34 |
-slot(T1* &object, R (T2::*function)(P1, P2, P3))
|
|
35 |
+slot(T1* object, R (T2::*function)(P1, P2, P3))
|
|
36 |
{
|
|
37 |
return new MethodSlot3<T2, R, P1, P2, P3>(object, function);
|
|
38 |
}
|
|
39 |
@@ -720,7 +720,7 @@
|
|
40 |
|
|
41 |
template <typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4>
|
|
42 |
inline Slot4<R, P1, P2, P3, P4>*
|
|
43 |
-slot(T1* &object, R (T2::*function)(P1, P2, P3, P4))
|
|
44 |
+slot(T1* object, R (T2::*function)(P1, P2, P3, P4))
|
|
45 |
{
|
|
46 |
return new MethodSlot4<T2, R, P1, P2, P3, P4>(object, function);
|
|
47 |
}
|
|
48 |
@@ -862,7 +862,7 @@
|
|
49 |
|
|
50 |
template <typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4, typename P5>
|
|
51 |
inline Slot5<R, P1, P2, P3, P4, P5>*
|
|
52 |
-slot(T1* &object, R (T2::*function)(P1, P2, P3, P4, P5))
|
|
53 |
+slot(T1* object, R (T2::*function)(P1, P2, P3, P4, P5))
|
|
54 |
{
|
|
55 |
return new MethodSlot5<T2, R, P1, P2, P3, P4, P5>(object, function);
|
|
56 |
}
|
|
57 |
@@ -1005,7 +1005,7 @@
|
|
58 |
|
|
59 |
template <typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
|
|
60 |
inline Slot6<R, P1, P2, P3, P4, P5, P6>*
|
|
61 |
-slot(T1* &object, R (T2::*function)(P1, P2, P3, P4, P5, P6))
|
|
62 |
+slot(T1* object, R (T2::*function)(P1, P2, P3, P4, P5, P6))
|
|
63 |
{
|
|
64 |
return new MethodSlot6<T2, R, P1, P2, P3, P4, P5, P6>(object, function);
|
|
65 |
}
|