diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-04-22 18:02:34 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-04-22 18:02:34 (GMT) |
commit | 38687f3498d0878c1c28cb52b8b9e070fcb45da8 (patch) | |
tree | 61a49cc8914f551de555874826c210aec7f55d7b /c++/src/H5DataSpace.cpp | |
parent | 487ccb3e59efe1365879e25e67bfa12299c93433 (diff) | |
download | hdf5-38687f3498d0878c1c28cb52b8b9e070fcb45da8.zip hdf5-38687f3498d0878c1c28cb52b8b9e070fcb45da8.tar.gz hdf5-38687f3498d0878c1c28cb52b8b9e070fcb45da8.tar.bz2 |
[svn-r29764] Purpose: Code cleanup
Description:
Removed obsolete overloaded functions which had parameters that should be
const but were not. They have been replaced by the correct version since 2014.
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5DataSpace.cpp')
-rw-r--r-- | c++/src/H5DataSpace.cpp | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/c++/src/H5DataSpace.cpp b/c++/src/H5DataSpace.cpp index 8ef8791..8fceca4 100644 --- a/c++/src/H5DataSpace.cpp +++ b/c++/src/H5DataSpace.cpp @@ -327,6 +327,8 @@ H5S_class_t DataSpace::getSimpleExtentType () const ///\param dest_space - IN: Dataspace to copy from ///\exception H5::DataSpaceIException // Programmer Binh-Minh Ribler - 2000 +// Modification +// Replaced the version without const parameter - Apr, 2014 //-------------------------------------------------------------------------- void DataSpace::extentCopy (const DataSpace& dest_space) const { @@ -339,23 +341,6 @@ void DataSpace::extentCopy (const DataSpace& dest_space) const } //-------------------------------------------------------------------------- -// Function: DataSpace::extentCopy -// Purpose This is an overloaded member function, kept for backward -// compatibility. It differs from the above function in that it -// misses const. This wrapper will be removed in future release. -// Param dest_space - IN: Dataspace to copy from -// Exception H5::DataSpaceIException -// Programmer Binh-Minh Ribler - 2000 -// Modification -// Modified to call its replacement. -BMR, 2014/04/16 -// Removed from documentation. -BMR, 2016/03/07 -//-------------------------------------------------------------------------- -void DataSpace::extentCopy( DataSpace& dest_space ) const -{ - extentCopy((const DataSpace)dest_space); -} - -//-------------------------------------------------------------------------- // Function: DataSpace::setExtentSimple ///\brief Sets or resets the size of an existing dataspace. ///\param rank - IN: Rank of the dataspace |