From 7b5b696bc4e8302c4eeb5507b8bab25c2c036afd Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Wed, 12 Dec 2001 22:54:15 -0500 Subject: [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) --- c++/src/H5DataSpace.h | 2 +- c++/src/H5PropList.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c++/src/H5DataSpace.h b/c++/src/H5DataSpace.h index 67f4537..7267fe6 100644 --- a/c++/src/H5DataSpace.h +++ b/c++/src/H5DataSpace.h @@ -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; diff --git a/c++/src/H5PropList.h b/c++/src/H5PropList.h index c800ace..66ccbd1 100644 --- a/c++/src/H5PropList.h +++ b/c++/src/H5PropList.h @@ -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, ... -- cgit v0.12