From d97ae16badd4a62181c3b1d17d0e10d533ea5b8c Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 26 Feb 2007 12:08:27 -0500 Subject: [PATCH] COMP: Added line accidentally removed. --- Source/kwsys/auto_ptr.hxx.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/kwsys/auto_ptr.hxx.in b/Source/kwsys/auto_ptr.hxx.in index 88c95cdff..7798876f8 100644 --- a/Source/kwsys/auto_ptr.hxx.in +++ b/Source/kwsys/auto_ptr.hxx.in @@ -50,6 +50,7 @@ public: auto_ptr(auto_ptr_ref r) throw(): x_(r.p_.release()) {} template operator auto_ptr_ref() throw() { return auto_ptr_ref(*this); } template operator auto_ptr() throw() { return release(); } + auto_ptr& operator=(auto_ptr_ref r) throw() { x_ = r.p_.release(); return *this; } }; } // namespace @KWSYS_NAMESPACE@