From a97a3b39f2816671bf0b5e268d32342bd003ff1c Mon Sep 17 00:00:00 2001 From: Brad King <brad.king@kitware.com> Date: Mon, 26 Feb 2007 12:08:27 -0500 Subject: [PATCH] COMP: Added line accidentally removed. --- auto_ptr.hxx.in | 1 + 1 file changed, 1 insertion(+) diff --git a/auto_ptr.hxx.in b/auto_ptr.hxx.in index 72511c1..75423ab 100644 --- a/auto_ptr.hxx.in +++ b/auto_ptr.hxx.in @@ -50,6 +50,7 @@ public: 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<Y>() throw() { return release(); } + auto_ptr& operator=(auto_ptr_ref<X> r) throw() { x_ = r.p_.release(); return *this; } }; } // namespace @KWSYS_NAMESPACE@ -- GitLab