summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-02-26 17:08:27 (GMT)
committerBrad King <brad.king@kitware.com>2007-02-26 17:08:27 (GMT)
commitd97ae16badd4a62181c3b1d17d0e10d533ea5b8c (patch)
tree720000dbc1f670a5de6255412f7bca4d39510dda
parent220989104c54b26d6dc9e1ea9ecb7d860aab06f0 (diff)
downloadCMake-d97ae16badd4a62181c3b1d17d0e10d533ea5b8c.zip
CMake-d97ae16badd4a62181c3b1d17d0e10d533ea5b8c.tar.gz
CMake-d97ae16badd4a62181c3b1d17d0e10d533ea5b8c.tar.bz2
COMP: Added line accidentally removed.
-rw-r--r--Source/kwsys/auto_ptr.hxx.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/kwsys/auto_ptr.hxx.in b/Source/kwsys/auto_ptr.hxx.in
index 88c95cd..7798876 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<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@