svn commit: trunk/uClibc++/include

gkajmowi at uclibc.org gkajmowi at uclibc.org
Fri Sep 23 20:13:45 UTC 2005


Author: gkajmowi
Date: 2005-09-23 13:13:41 -0700 (Fri, 23 Sep 2005)
New Revision: 11604

Log:
One final touch up to auto_ptr

Modified:
   trunk/uClibc++/include/memory


Changeset:
Modified: trunk/uClibc++/include/memory
===================================================================
--- trunk/uClibc++/include/memory	2005-09-23 20:01:57 UTC (rev 11603)
+++ trunk/uClibc++/include/memory	2005-09-23 20:13:41 UTC (rev 11604)
@@ -125,7 +125,7 @@
 
 	explicit auto_ptr(T* p =0) throw() : object(p){  }
 	auto_ptr(auto_ptr& p) throw() : object(p.release()){ }
-	template<class Y> auto_ptr(const auto_ptr<Y>& p) throw() : object(p.release()){ }
+	template<class Y> auto_ptr(auto_ptr<Y>& p) throw() : object(p.release()){ }
 	auto_ptr& operator=(auto_ptr& p) throw(){
 		if(&p == this){
 			return *this;




More information about the uClibc-cvs mailing list