COMP: Added line accidentally removed.
This commit is contained in:
parent
220989104c
commit
d97ae16bad
|
@ -50,6 +50,7 @@ public:
|
||||||
auto_ptr(auto_ptr_ref<X> r) throw(): x_(r.p_.release()) {}
|
auto_ptr(auto_ptr_ref<X> r) throw(): x_(r.p_.release()) {}
|
||||||
template <class Y> operator auto_ptr_ref<Y>() throw() { return auto_ptr_ref<Y>(*this); }
|
template <class Y> operator auto_ptr_ref<Y>() throw() { return auto_ptr_ref<Y>(*this); }
|
||||||
template <class Y> operator auto_ptr<Y>() throw() { return release(); }
|
template <class Y> operator auto_ptr<Y>() throw() { return release(); }
|
||||||
|
auto_ptr& operator=(auto_ptr_ref<X> r) throw() { x_ = r.p_.release(); return *this; }
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace @KWSYS_NAMESPACE@
|
} // namespace @KWSYS_NAMESPACE@
|
||||||
|
|
Loading…
Reference in New Issue