From eb9cb926a9d9b5d431e8cf94ff8be900578e2fa3 Mon Sep 17 00:00:00 2001 From: humesikkins Date: Thu, 18 Mar 2004 10:59:09 +0000 Subject: [PATCH] Changed value parameter to reference parameter in FunctorBase and FunctorVoidBase Ctors git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@137 7ec92016-0320-0410-acc4-a06ded1c099a --- MSVC/1200/Functor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MSVC/1200/Functor.h b/MSVC/1200/Functor.h index 50b720f..43e3587 100644 --- a/MSVC/1200/Functor.h +++ b/MSVC/1200/Functor.h @@ -1219,7 +1219,7 @@ namespace Private FunctorBase() : spImpl_() {} template - FunctorBase(Fun fun, Loki::Type2Type) + FunctorBase(const Fun& fun, Loki::Type2Type) : spImpl_(new FunctorHandler(fun)) {} @@ -1339,7 +1339,7 @@ namespace Private FunctorVoidBase() : spImpl_() {} template - FunctorVoidBase(Fun fun, Loki::Type2Type) + FunctorVoidBase(const Fun& fun, Loki::Type2Type) : spImpl_(new FunctorHandler(fun)) {}