aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2010-03-26 17:00:23 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2010-03-26 17:00:23 (GMT)
commit1cae9f22f8aa459e781a62387c19a03b2b8d6ee9 (patch)
tree2848921398eb6370ab385e0981e4effb9f7d4d98 /src
parent5bc782561bd395ce636c83e007b37dd6c8393859 (diff)
downloadfluxbox_paul-1cae9f22f8aa459e781a62387c19a03b2b8d6ee9.zip
fluxbox_paul-1cae9f22f8aa459e781a62387c19a03b2b8d6ee9.tar.bz2
Minor fix for argument reference in MemFunSelectArgImpl
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