diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2015-04-01 18:52:05 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2015-04-01 18:52:05 (GMT) |
commit | f6d9d1fdc884731a1fef0b0921b549cd6aa2bd0e (patch) | |
tree | e59aa1ad42860bdb53d6e851d63619fe07967372 /c++/src/H5DataSet.cpp | |
parent | 6f03b60c611c94640e649acbb89ec2bfd8d67670 (diff) | |
download | hdf5-f6d9d1fdc884731a1fef0b0921b549cd6aa2bd0e.zip hdf5-f6d9d1fdc884731a1fef0b0921b549cd6aa2bd0e.tar.gz hdf5-f6d9d1fdc884731a1fef0b0921b549cd6aa2bd0e.tar.bz2 |
[svn-r26695] Purpose: Fixed HDFFV-7947 (cont.)
Description:
- Put back the UNUSED parameters in dsets test because the change to remove
the warning last time caused failure in setting filter, in turn, caused
failure in the test with such obscure/unrelated errors!
- Added incRefCount() to other constructors that missed from last time.
Platforms tested:
Linux/64 (platypus)
Linux/32 2.6 (jam)
SunOS 5.11 (emu)
Diffstat (limited to 'c++/src/H5DataSet.cpp')
-rw-r--r-- | c++/src/H5DataSet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp index 7e4d18e..717ef88 100644 --- a/c++/src/H5DataSet.cpp +++ b/c++/src/H5DataSet.cpp @@ -63,6 +63,7 @@ DataSet::DataSet() : H5Object(), AbstractDs(), id(H5I_INVALID_HID) {} DataSet::DataSet(const hid_t existing_id) : H5Object(), AbstractDs() { id = existing_id; + incRefCount(); // increment number of references to this id } //-------------------------------------------------------------------------- |