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/H5DataSet.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/H5DataSet.h')
-rw-r--r-- | c++/src/H5DataSet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c++/src/H5DataSet.h b/c++/src/H5DataSet.h index 6194cd8..f5d13d0 100644 --- a/c++/src/H5DataSet.h +++ b/c++/src/H5DataSet.h @@ -99,7 +99,6 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs { // Gets the dataset id. virtual hid_t getId() const; - virtual void p_setId(const hid_t new_id); // Destructor: properly terminates access to this dataset. virtual ~DataSet(); @@ -112,6 +111,10 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs { // defined in AbstractDs for generic datatype and specific // sub-types virtual hid_t p_get_type() const; + + protected: + // Sets the dataset id. + virtual void p_setId(const hid_t new_id); }; #ifndef H5_NO_NAMESPACE } |