diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2001-12-12 19:29:14 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2001-12-12 19:29:14 (GMT) |
commit | fd48265a02402e3911dadf4dc6895daa1eb39543 (patch) | |
tree | 1a9d16abc3f3a9fbc7c41f7fc39dafea67988e27 /c++/src/H5DataType.h | |
parent | 47d88766dbee3c631c842639d44c362c2b7b8e44 (diff) | |
download | hdf5-fd48265a02402e3911dadf4dc6895daa1eb39543.zip hdf5-fd48265a02402e3911dadf4dc6895daa1eb39543.tar.gz hdf5-fd48265a02402e3911dadf4dc6895daa1eb39543.tar.bz2 |
[svn-r4707]
Purpose:
Bug fixing
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)
IRIX64 (modi4) - only tested that the warnings went away, still working
on other configuration problems.
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r-- | c++/src/H5DataType.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h index ebe7ded..0b9d877 100644 --- a/c++/src/H5DataType.h +++ b/c++/src/H5DataType.h @@ -42,11 +42,8 @@ class DataType : public H5Object { // Returns a pointer to the current global overflow function. H5T_overflow_t getOverflow(void) const; - // Assignment operator that takes a predefined type - virtual DataType& operator=( const PredType& rhs ); - // Assignment operator - virtual DataType& operator=( const DataType& rhs ); + DataType& operator=( const DataType& rhs ); // Determines whether two datatypes are the same. bool operator==(const DataType& compared_type ) const; |