[svn-r3199]
Purpose: bug fix Description: I found a couple of places where virtual destructors were missing and could cause small memory leaks. Also, some destructors were not virtual when they should be. Solution: - added virtual destructors, which also free dynamically allocated memory - added virtual to several destructors - also, fixed several typos Platforms tested: Solaris 2.7 (arabica)
This commit is contained in:
@@ -18,13 +18,6 @@ const DSetCreatPropList DSetCreatPropList::DEFAULT( H5P_DEFAULT );
|
||||
// Copy constructor: makes a copy of the original DSetCreatPropList object;
|
||||
DSetCreatPropList::DSetCreatPropList( const DSetCreatPropList& orig ) : PropList( orig ) {}
|
||||
|
||||
// Copies a dataset creation property list using assignment statement
|
||||
DSetCreatPropList& DSetCreatPropList::operator=( const DSetCreatPropList& rhs )
|
||||
{
|
||||
copy (rhs);
|
||||
return( *this );
|
||||
}
|
||||
|
||||
// Sets the size of the chunks used to store a chunked layout dataset.
|
||||
void DSetCreatPropList::setChunk( int ndims, const hsize_t* dim ) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user