diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-08-07 06:30:15 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-08-07 06:30:15 (GMT) |
commit | e6266dd7a1977a8328ff456c2d7451c1af9a96dc (patch) | |
tree | 8c9a4efbec9799990aa1483ab16649de4fed6e0b /c++/src/H5File.cpp | |
parent | 3ff3720c028f47aa0b9ea1e89592dcd42b82246f (diff) | |
download | hdf5-e6266dd7a1977a8328ff456c2d7451c1af9a96dc.zip hdf5-e6266dd7a1977a8328ff456c2d7451c1af9a96dc.tar.gz hdf5-e6266dd7a1977a8328ff456c2d7451c1af9a96dc.tar.bz2 |
[svn-r9049] Purpose: Clean up code
Description:
Removed private functions p_close, that were left over from the
removal of the reference counting mechanism.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
Misc. update:
release_docs/RELEASE will be updated soon.
Diffstat (limited to 'c++/src/H5File.cpp')
-rw-r--r-- | c++/src/H5File.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/c++/src/H5File.cpp b/c++/src/H5File.cpp index a368544..bac8499 100644 --- a/c++/src/H5File.cpp +++ b/c++/src/H5File.cpp @@ -504,24 +504,6 @@ hsize_t H5File::getFileSize() const } //-------------------------------------------------------------------------- -// Function: H5File::p_close (private) -///\brief Closes this H5 file. -///\exception H5::FileIException -///\note -/// This function will be obsolete because its functionality -/// is recently handled by the C library layer. -// Programmer Binh-Minh Ribler - 2000 -//-------------------------------------------------------------------------- -void H5File::p_close() const -{ - herr_t ret_value = H5Fclose( id ); - if( ret_value < 0 ) - { - throw FileIException(0, "H5Fclose failed"); - } -} - -//-------------------------------------------------------------------------- // Function: H5File::throwException ///\brief Throws file exception - initially implemented for CommonFG ///\param func_name - Name of the function where failure occurs |