Skip to content

Commit

Permalink
Update deprecated functions
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Hahn <hahnse@ornl.gov>
  • Loading branch information
quantumsteve committed Dec 1, 2022
1 parent 55db736 commit 7119773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/io/hdf/hdf_archive.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class hdf_archive
if (Mode[NOIO])
return;
hid_t p = group_id.empty() ? file_id : group_id.top();
herr_t status = H5Gunlink(p, aname.c_str());
herr_t status = H5Ldelete(p, aname.c_str(), H5P_DEFAULT);
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/io/hdf/hdf_wrapper_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ inline bool h5d_append(hid_t grp,
start[0] = current;
end[0] = start[0] + dims[0];
//extend the dataset (file)
herr_t he = H5Dextend(dataset, end.data());
herr_t he = H5Dset_extent(dataset, end.data());
//get the corresponding dataspace (filespace)
dataspace = H5Dget_space(dataset);
//set the extent
Expand Down

0 comments on commit 7119773

Please sign in to comment.