aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/MemFun.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/MemFun.hh b/src/FbTk/MemFun.hh
index d265703..a839c2e 100644
--- a/src/FbTk/MemFun.hh
+++ b/src/FbTk/MemFun.hh
@@ -233,17 +233,17 @@ public:
233 } 233 }
234 234
235 template <typename Type1, typename Type2, typename Type3> 235 template <typename Type1, typename Type2, typename Type3>
236 void operator ()(Type1 a, Type2 b, Type3 c) { 236 void operator ()(Type1& a, Type2& b, Type3& c) {
237 m_func(STLUtil::SelectArg<ArgNum>()(a, b, c)); 237 m_func(STLUtil::SelectArg<ArgNum>()(a, b, c));
238 } 238 }
239 239
240 template <typename Type1, typename Type2> 240 template <typename Type1, typename Type2>
241 void operator ()(Type1 a, Type2 b) { 241 void operator ()(Type1& a, Type2& b) {
242 m_func(STLUtil::SelectArg<ArgNum>()(a, b)); 242 m_func(STLUtil::SelectArg<ArgNum>()(a, b));
243 } 243 }
244 244
245 template <typename Type1> 245 template <typename Type1>
246 void operator ()(Type1 a) { 246 void operator ()(Type1& a) {
247 m_func(a); 247 m_func(a);
248 } 248 }
249 249