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
This commit is contained in:
humesikkins 2004-03-18 10:59:09 +00:00
parent 15f21dd90a
commit eb9cb926a9

View file

@ -1219,7 +1219,7 @@ namespace Private
FunctorBase() : spImpl_() {}
template <class Fun, class MyFunctor>
FunctorBase(Fun fun, Loki::Type2Type<MyFunctor>)
FunctorBase(const Fun& fun, Loki::Type2Type<MyFunctor>)
: spImpl_(new FunctorHandler<MyFunctor, Fun>(fun))
{}
@ -1339,7 +1339,7 @@ namespace Private
FunctorVoidBase() : spImpl_() {}
template <class Fun, class MyFunctor>
FunctorVoidBase(Fun fun, Loki::Type2Type<MyFunctor>)
FunctorVoidBase(const Fun& fun, Loki::Type2Type<MyFunctor>)
: spImpl_(new FunctorHandler<MyFunctor, Fun>(fun))
{}