Update of /cvsroot/cppunit/cppunit2/include/cpptl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5573/include/cpptl
Modified Files:
sharedptr.h
Log Message:
* fixed destructor (deleting void * instead of pointee)
Index: sharedptr.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/cpptl/sharedptr.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sharedptr.h 23 Feb 2005 21:36:24 -0000 1.2
--- sharedptr.h 23 Feb 2005 22:06:51 -0000 1.3
***************
*** 153,157 ****
{
if ( releaseCount() )
! delete p_;
}
--- 153,157 ----
{
if ( releaseCount() )
! delete static_cast<PointeeType *>( p_ );
}
|