diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-07-25 04:10:07 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-07-25 04:10:07 (GMT) |
commit | 98fdd752a4fe4ab3519c4d6f4823d44fc61197fc (patch) | |
tree | 19efc455dbd8fa2e720af0b3586595b66bc24b58 /c++/src/H5DataSpace.h | |
parent | 836f7b53ccce4f67c1918b337c1a133191c58a98 (diff) | |
download | hdf5-98fdd752a4fe4ab3519c4d6f4823d44fc61197fc.zip hdf5-98fdd752a4fe4ab3519c4d6f4823d44fc61197fc.tar.gz hdf5-98fdd752a4fe4ab3519c4d6f4823d44fc61197fc.tar.bz2 |
[svn-r15404] Purpose: Code correction
Description:
Accidentally left p_setId in public section in the previous checkin.
Moved it to "protected:" section.
Platforms tested:
Linux 2.6 (kagiso)
SunOS 5.10 (linew)
FreeBSD (duty)
Diffstat (limited to 'c++/src/H5DataSpace.h')
-rw-r--r-- | c++/src/H5DataSpace.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c++/src/H5DataSpace.h b/c++/src/H5DataSpace.h index 3e5776d..80842f7 100644 --- a/c++/src/H5DataSpace.h +++ b/c++/src/H5DataSpace.h @@ -114,13 +114,16 @@ class H5_DLLCPP DataSpace : public IdComponent { // Gets the dataspace id. virtual hid_t getId() const; - virtual void p_setId(const hid_t new_id); // Destructor: properly terminates access to this dataspace. virtual ~DataSpace(); private: hid_t id; // HDF5 dataspace id + + protected: + // Sets the dataspace id. + virtual void p_setId(const hid_t new_id); }; #ifndef H5_NO_NAMESPACE } |