summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2001-12-13 03:54:15 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2001-12-13 03:54:15 (GMT)
commit7b5b696bc4e8302c4eeb5507b8bab25c2c036afd (patch)
tree188a34e7ffd8a615834745fdfcb388dd8a094a8f /c++
parentcb85cfc5c65e6cd84fe3a6f7218e72e6a0d2faf7 (diff)
downloadhdf5-7b5b696bc4e8302c4eeb5507b8bab25c2c036afd.zip
hdf5-7b5b696bc4e8302c4eeb5507b8bab25c2c036afd.tar.gz
hdf5-7b5b696bc4e8302c4eeb5507b8bab25c2c036afd.tar.bz2
[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)
Diffstat (limited to 'c++')
-rw-r--r--c++/src/H5DataSpace.h2
-rw-r--r--c++/src/H5PropList.h2
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, ...