diff options
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/H5Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Object.cpp b/c++/src/H5Object.cpp index 693bb11..905e9c8 100644 --- a/c++/src/H5Object.cpp +++ b/c++/src/H5Object.cpp @@ -437,7 +437,7 @@ void H5Object::reference(void* ref, const H5std_string& name) const hid_t H5Object::p_dereference(hid_t loc_id, const void* ref, H5R_type_t ref_type) { hid_t temp_id; - temp_id = H5Rdereference(loc_id, ref_type, ref); + temp_id = H5Rdereference2(loc_id, H5P_DATASET_ACCESS_DEFAULT, ref_type, ref); if (temp_id < 0) { throw ReferenceException("", "H5Rdereference failed"); |