diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2000-12-13 13:06:57 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2000-12-13 13:06:57 (GMT) |
commit | 1aec17231d77f4e4e2bc924b2aefd4541d046cca (patch) | |
tree | 1ebe4bc4fc5e70bd5a4a611f2d6fcdce488f1d9b /c++/src/H5IdComponent.h | |
parent | 9cbeb3c53f0d34d8e2b7cca0fbaab8ec55179066 (diff) | |
download | hdf5-1aec17231d77f4e4e2bc924b2aefd4541d046cca.zip hdf5-1aec17231d77f4e4e2bc924b2aefd4541d046cca.tar.gz hdf5-1aec17231d77f4e4e2bc924b2aefd4541d046cca.tar.bz2 |
[svn-r3122] Purpose:
Fix and improve
Description:
- Put functions that are common to H5File and Group into a
prototype class, CommonFG. I didn't do that before because
of the fear of the consequences of multiple inheritance, since
H5File and Group already inherit from different super classes.
I recently read a C++ book and learned to use MI more safely.
This change reduced some more of code redundancy.
- Added missing const to some function parameters
Platforms tested:
Solaris/CC 5.0 (arabica)
Diffstat (limited to 'c++/src/H5IdComponent.h')
-rw-r--r-- | c++/src/H5IdComponent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5IdComponent.h b/c++/src/H5IdComponent.h index 2c8b88f..3ab341c 100644 --- a/c++/src/H5IdComponent.h +++ b/c++/src/H5IdComponent.h @@ -12,7 +12,7 @@ class IdComponent { public: // Parent classes must reset the current IdComponent copy // before setting new id to control reference count - void setId( const hid_t new_id ); + void setId( hid_t new_id ); // Pure virtual function so appropriate close function can // be called by subclasses' for the corresponding object |