From 53bce2fe7c66739a3aeef00538668694bd684acf Mon Sep 17 00:00:00 2001 From: tslettebo Date: Mon, 3 Feb 2003 11:54:05 +0000 Subject: [PATCH] no message git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@92 7ec92016-0320-0410-acc4-a06ded1c099a --- Reference/Functor.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Reference/Functor.h b/Reference/Functor.h index 42fcc78..3515710 100644 --- a/Reference/Functor.h +++ b/Reference/Functor.h @@ -762,13 +762,17 @@ namespace Loki : spImpl_(new MemFunHandler(p, memFn)) {} - typedef impl * (std::auto_ptr::*unspecified_bool_type)() const; + /* + + typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; operator unspecified_bool_type() const { - return spImpl_.get() ? &std::auto_ptr::get : 0; + return spImpl_.get() ? &std::auto_ptr::get : 0; } + */ + Functor& operator=(const Functor& rhs) { Functor copy(rhs);