mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
[svn-r4713]
Purpose: Removing warnings Description: H5IdComponent::operator= shouldn't be virtual because the subclass' operator= have different type for the rhs argument. Removed virtual. Platforms tested: SunOS 5.7 (arabica) Linux 6.2 (eirene)
This commit is contained in:
parent
cb85cfc5c6
commit
7b5b696bc4
@ -21,7 +21,7 @@ class DataSpace : public IdComponent {
|
||||
void copy( const DataSpace& like_space ); // H5Scopy
|
||||
|
||||
// Assignment operator
|
||||
virtual DataSpace& operator=( const DataSpace& rhs );
|
||||
DataSpace& operator=( const DataSpace& rhs );
|
||||
|
||||
// Determines if this dataspace is a simple one.
|
||||
bool isSimple() const;
|
||||
|
@ -26,7 +26,7 @@ class PropList : public IdComponent {
|
||||
void copy( const PropList& like_plist );
|
||||
|
||||
// Make a copy of the given property list using assignment statement
|
||||
virtual PropList& operator=( const PropList& rhs );
|
||||
PropList& operator=( const PropList& rhs );
|
||||
|
||||
// Gets the class of this property list, i.e. H5P_FILE_CREATE,
|
||||
// H5P_FILE_ACCESS, ...
|
||||
|
Loading…
Reference in New Issue
Block a user