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:
parent
fe3a7e78ad
commit
7c6d48c9d7
2 changed files with 4 additions and 4 deletions
|
@ -762,11 +762,11 @@ namespace Loki
|
||||||
: spImpl_(new MemFunHandler<Functor, PtrObj, MemFn>(p, memFn))
|
: 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
|
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)
|
Functor& operator=(const Functor& rhs)
|
||||||
|
|
|
@ -899,11 +899,11 @@ namespace Loki
|
||||||
: spImpl_(new MemFunHandler<Functor, PtrObj, MemFn>(p, memFn))
|
: 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
|
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)
|
Functor& operator=(const Functor& rhs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue