Fixed my previous typo.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@94 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
derfel 2003-02-04 22:33:56 +00:00
parent fe3a7e78ad
commit 7c6d48c9d7
2 changed files with 4 additions and 4 deletions

View file

@ -762,11 +762,11 @@ namespace Loki
: spImpl_(new MemFunHandler<Functor, PtrObj, MemFn>(p, memFn))
{}
typedef impl * (std::auto_ptr<impl>::*unspecified_bool_type)() const;
typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const;
operator unspecified_bool_type() const
{
return spImpl_.get() ? &std::auto_ptr<impl>::get : 0;
return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0;
}
Functor& operator=(const Functor& rhs)

View file

@ -899,11 +899,11 @@ namespace Loki
: spImpl_(new MemFunHandler<Functor, PtrObj, MemFn>(p, memFn))
{}
typedef impl * (std::auto_ptr<impl>::*unspecified_bool_type)() const;
typedef Impl * (std::auto_ptr<Impl>::*unspecified_bool_type)() const;
operator unspecified_bool_type() const
{
return spImpl_.get() ? &std::auto_ptr<impl>::get : 0;
return spImpl_.get() ? &std::auto_ptr<Impl>::get : 0;
}
Functor& operator=(const Functor& rhs)