summaryrefslogtreecommitdiffstats
path: root/src/H5Gint.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/H5Gint.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/H5Gint.c')
-rw-r--r--src/H5Gint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gint.c b/src/H5Gint.c
index c46681b..c54b341 100644
--- a/src/H5Gint.c
+++ b/src/H5Gint.c
@@ -335,7 +335,7 @@ H5G_open(const H5G_loc_t *loc)
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate space for group")
/* Shallow copy (take ownership) of the group location object */
- if(H5O_loc_copy(&(grp->oloc), loc->oloc, H5_COPY_SHALLOW) < 0)
+ if(H5O_loc_copy_shallow(&(grp->oloc), loc->oloc) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTCOPY, NULL, "can't copy object location")
if(H5G_name_copy(&(grp->path), loc->path, H5_COPY_SHALLOW) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTCOPY, NULL, "can't copy path")