summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Object.cpp
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-07-18 23:12:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-07-18 23:12:28 (GMT)
commita777619a6b556aeb8365f874099c1a1f42ef3466 (patch)
tree50db7be8ab74cef9dcbc9d954c6e6fddd96be0ca /c++/src/H5Object.cpp
parentde106315771c4c227c4e73d9194494a240b92fd2 (diff)
downloadhdf5-a777619a6b556aeb8365f874099c1a1f42ef3466.zip
hdf5-a777619a6b556aeb8365f874099c1a1f42ef3466.tar.gz
hdf5-a777619a6b556aeb8365f874099c1a1f42ef3466.tar.bz2
[svn-r21121] Description:
Switch from H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for calls to H5Rdereference2(). Tested on: Mac OS X/32 10.6.8 (amazon) w/debug (too minor to require h5committest)
Diffstat (limited to 'c++/src/H5Object.cpp')
-rw-r--r--c++/src/H5Object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Object.cpp b/c++/src/H5Object.cpp
index 905e9c8..e25c255 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 = H5Rdereference2(loc_id, H5P_DATASET_ACCESS_DEFAULT, ref_type, ref);
+ temp_id = H5Rdereference2(loc_id, H5P_DEFAULT, ref_type, ref);
if (temp_id < 0)
{
throw ReferenceException("", "H5Rdereference failed");