From 2f829e599278ed0fa61aeb523542f5da5aa66829 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 19 Oct 2004 17:12:37 +0000 Subject: [PATCH] removed const from arg to copy constructor as is convention with std --- src/libCom/cppStd/epicsMemory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libCom/cppStd/epicsMemory.h b/src/libCom/cppStd/epicsMemory.h index ed2fb1a5b..49c9ebecc 100644 --- a/src/libCom/cppStd/epicsMemory.h +++ b/src/libCom/cppStd/epicsMemory.h @@ -22,7 +22,7 @@ class epics_auto_ptr { public: typedef T element_type; explicit epics_auto_ptr ( T * p = 0 ) throw (); - epics_auto_ptr ( const epics_auto_ptr & rhs ) throw (); + epics_auto_ptr ( epics_auto_ptr & rhs ) throw (); ~epics_auto_ptr() throw (); epics_auto_ptr & operator = ( epics_auto_ptr & rhs ) throw (); T & operator * () const throw (); @@ -42,7 +42,7 @@ p ( pIn ) {} template < class T, epics_auto_ptr_type PT > inline epics_auto_ptr:: - epics_auto_ptr ( const epics_auto_ptr & ap ) throw () : + epics_auto_ptr ( epics_auto_ptr & ap ) throw () : p ( ap.release() ) {} template < class T, epics_auto_ptr_type PT >