diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2021-05-18 19:23:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 19:23:01 (GMT) |
commit | 76b73a63157b4dfc5895f3e1451b41c24842e80b (patch) | |
tree | 02ba90f75110517bfa0fecc4ea944cb99e1d14a6 | |
parent | 27198d814a58640a6088f44b72d43d3bd4bb6629 (diff) | |
download | hdf5-76b73a63157b4dfc5895f3e1451b41c24842e80b.zip hdf5-76b73a63157b4dfc5895f3e1451b41c24842e80b.tar.gz hdf5-76b73a63157b4dfc5895f3e1451b41c24842e80b.tar.bz2 |
Revert addition of & to 2 parameters in DSetCreatPropList::setVirtual to (#653)
maintain binary compatibility.
-rw-r--r-- | c++/src/H5DcreatProp.cpp | 4 | ||||
-rw-r--r-- | c++/src/H5DcreatProp.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5DcreatProp.cpp b/c++/src/H5DcreatProp.cpp index 383e38f..4c71d5e 100644 --- a/c++/src/H5DcreatProp.cpp +++ b/c++/src/H5DcreatProp.cpp @@ -775,8 +775,8 @@ DSetCreatPropList::setVirtual(const DataSpace &vspace, const char *src_fname, co // Programmer Binh-Minh Ribler - Mar, 2017 //-------------------------------------------------------------------------- void -DSetCreatPropList::setVirtual(const DataSpace &vspace, const H5std_string &src_fname, - const H5std_string &src_dsname, const DataSpace &sspace) const +DSetCreatPropList::setVirtual(const DataSpace &vspace, const H5std_string src_fname, + const H5std_string src_dsname, const DataSpace &sspace) const { setVirtual(vspace, src_fname.c_str(), src_dsname.c_str(), sspace); } diff --git a/c++/src/H5DcreatProp.h b/c++/src/H5DcreatProp.h index 820c0d1..3c032ee 100644 --- a/c++/src/H5DcreatProp.h +++ b/c++/src/H5DcreatProp.h @@ -123,7 +123,7 @@ class H5_DLLCPP DSetCreatPropList : public ObjCreatPropList { // Maps elements of a virtual dataset to elements of the source dataset. void setVirtual(const DataSpace &vspace, const char *src_fname, const char *src_dsname, const DataSpace &sspace) const; - void setVirtual(const DataSpace &vspace, const H5std_string &src_fname, const H5std_string &src_dsname, + void setVirtual(const DataSpace &vspace, const H5std_string src_fname, const H5std_string src_dsname, const DataSpace &sspace) const; ///\brief Returns this class name. |