diff options
author | David Young <dyoung@hdfgroup.org> | 2020-01-29 20:11:10 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:54 (GMT) |
commit | d21d9aa1fb6823a4695edea4a55a71b4de7fddb9 (patch) | |
tree | 23e6019cde8cea3b0ee09653a8755cc192cb6e1a /src/H5Gint.c | |
parent | ad9424bed4d3e90d22966668e17575f3dc20565e (diff) | |
download | hdf5-d21d9aa1fb6823a4695edea4a55a71b4de7fddb9.zip hdf5-d21d9aa1fb6823a4695edea4a55a71b4de7fddb9.tar.gz hdf5-d21d9aa1fb6823a4695edea4a55a71b4de7fddb9.tar.bz2 |
H5T_copy() constification plus Quincey's contributions.
Diffstat (limited to 'src/H5Gint.c')
-rw-r--r-- | src/H5Gint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gint.c b/src/H5Gint.c index e0b8bd7..a3849a6 100644 --- a/src/H5Gint.c +++ b/src/H5Gint.c @@ -336,7 +336,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") |