From 1cae9f22f8aa459e781a62387c19a03b2b8d6ee9 Mon Sep 17 00:00:00 2001 From: Henrik Kinnunen Date: Fri, 26 Mar 2010 18:00:23 +0100 Subject: Minor fix for argument reference in MemFunSelectArgImpl --- src/FbTk/MemFun.hh | 6 +++--- 1 file 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: } 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); } -- cgit v0.11.2