summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataType.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2001-12-12 19:29:14 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2001-12-12 19:29:14 (GMT)
commitfd48265a02402e3911dadf4dc6895daa1eb39543 (patch)
tree1a9d16abc3f3a9fbc7c41f7fc39dafea67988e27 /c++/src/H5DataType.cpp
parent47d88766dbee3c631c842639d44c362c2b7b8e44 (diff)
downloadhdf5-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.cpp')
-rw-r--r--c++/src/H5DataType.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/c++/src/H5DataType.cpp b/c++/src/H5DataType.cpp
index a7de20b..bef66f3 100644
--- a/c++/src/H5DataType.cpp
+++ b/c++/src/H5DataType.cpp
@@ -76,14 +76,6 @@ DataType& DataType::operator=( const DataType& rhs )
return(*this);
}
-// Makes a copy of the predefined type and stores the new
-// id in the left hand side object.
-DataType& DataType::operator=( const PredType& rhs )
-{
- copy(rhs);
- return(*this);
-}
-
// Determines whether two datatypes refer to the same actual datatype.
bool DataType::operator==(const DataType& compared_type ) const
{
@@ -108,7 +100,7 @@ bool DataType::operator==(const DataType& compared_type ) const
//{
//}
-// Creates a new variable-length datatype - Note: make it inheritance???
+// Creates a new variable-length datatype - Note: should use inheritance -
// work in progress
//DataType DataType::vlenCreate( const DataType& base_type )
//{