Minor fix for argument reference in MemFunSelectArgImpl
Henrik Kinnunen fluxgen@fluxbox.org
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/FbTk/MemFun.hh
→
src/FbTk/MemFun.hh
@@ -233,17 +233,17 @@ m_func(func) {
} template <typename Type1, typename Type2, typename Type3> - void operator ()(Type1 a, Type2 b, Type3 c) { + void operator ()(Type1& a, Type2& b, Type3& c) { m_func(STLUtil::SelectArg<ArgNum>()(a, b, c)); } template <typename Type1, typename Type2> - void operator ()(Type1 a, Type2 b) { + void operator ()(Type1& a, Type2& b) { m_func(STLUtil::SelectArg<ArgNum>()(a, b)); } template <typename Type1> - void operator ()(Type1 a) { + void operator ()(Type1& a) { m_func(a); }