[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:
Binh-Minh Ribler 2001-12-12 22:54:15 -05:00
parent cb85cfc5c6
commit 7b5b696bc4
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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, ...