diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-05-14 09:46:12 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-05-14 09:46:12 (GMT) |
commit | 6266d0fe88bbb6c823bda15295e583643b7204bf (patch) | |
tree | e1b1f3e6ee65ab3b05a444c755193995f716564a /src/H5Gobj.c | |
parent | 776628b873facb34616ae63d16a2b79ccd5bd283 (diff) | |
download | hdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.zip hdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.tar.gz hdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.tar.bz2 |
Manual merge of H5T_copy constification (avoids VOL changes and
messy diff).
Diffstat (limited to 'src/H5Gobj.c')
-rw-r--r-- | src/H5Gobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gobj.c b/src/H5Gobj.c index e93896c..d18e323 100644 --- a/src/H5Gobj.c +++ b/src/H5Gobj.c @@ -739,7 +739,7 @@ H5G__obj_info(const H5O_loc_t *oloc, H5G_info_t *grp_info) H5G_loc_reset(&grp_loc); /* Deep copy (duplicate) of the group location object */ - if(H5O_loc_copy(&grp_oloc, (H5O_loc_t *)oloc, H5_COPY_DEEP) < 0) /* (Casting away const OK - QAK) */ + if(H5O_loc_copy_deep(&grp_oloc, (H5O_loc_t *)oloc) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTCOPY, FAIL, "can't copy object location") /* Open the group */ |