summaryrefslogtreecommitdiffstats
path: root/src/H5L.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-14 09:46:12 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-14 09:46:12 (GMT)
commit6266d0fe88bbb6c823bda15295e583643b7204bf (patch)
treee1b1f3e6ee65ab3b05a444c755193995f716564a /src/H5L.c
parent776628b873facb34616ae63d16a2b79ccd5bd283 (diff)
downloadhdf5-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/H5L.c')
-rw-r--r--src/H5L.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 5c52932..7b0bf33 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -1698,7 +1698,7 @@ H5L__link_cb(H5G_loc_t *grp_loc/*in*/, const char *name, const H5O_link_t H5_ATT
* copy and wipe out grp_loc)
*/
H5G_name_reset(&temp_path);
- if(H5O_loc_copy(&temp_oloc, grp_loc->oloc, H5_COPY_DEEP) < 0)
+ if(H5O_loc_copy_deep(&temp_oloc, grp_loc->oloc) < 0)
HGOTO_ERROR(H5E_LINK, H5E_CANTCOPY, FAIL, "unable to copy object location")
temp_loc.oloc = &temp_oloc;
@@ -2485,7 +2485,7 @@ H5L__move_dest_cb(H5G_loc_t *grp_loc/*in*/, const char *name,
* copy and wipe out grp_loc)
*/
H5G_name_reset(&temp_path);
- if(H5O_loc_copy(&temp_oloc, grp_loc->oloc, H5_COPY_DEEP) < 0)
+ if(H5O_loc_copy_deep(&temp_oloc, grp_loc->oloc) < 0)
HGOTO_ERROR(H5E_LINK, H5E_CANTCOPY, FAIL, "unable to copy object location")
temp_loc.oloc = &temp_oloc;