diff --git a/src/FbTk/MemFun.hh b/src/FbTk/MemFun.hh index d265703c..a839c2ed 100644 --- a/src/FbTk/MemFun.hh +++ b/src/FbTk/MemFun.hh @@ -233,17 +233,17 @@ public: } template - void operator ()(Type1 a, Type2 b, Type3 c) { + void operator ()(Type1& a, Type2& b, Type3& c) { m_func(STLUtil::SelectArg()(a, b, c)); } template - void operator ()(Type1 a, Type2 b) { + void operator ()(Type1& a, Type2& b) { m_func(STLUtil::SelectArg()(a, b)); } template - void operator ()(Type1 a) { + void operator ()(Type1& a) { m_func(a); }