all repos — fluxbox @ 1cae9f22f8aa459e781a62387c19a03b2b8d6ee9

custom fork of the fluxbox windowmanager

Minor fix for argument reference in MemFunSelectArgImpl
Henrik Kinnunen fluxgen@fluxbox.org
commit

1cae9f22f8aa459e781a62387c19a03b2b8d6ee9

parent

5bc782561bd395ce636c83e007b37dd6c8393859

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/FbTk/MemFun.hhsrc/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); }