diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2021-05-17 14:41:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 14:41:47 (GMT) |
commit | 25e5c39864bde286fb9652c0e6a2156b3f89833b (patch) | |
tree | 9062d367e27e5bce1449525d6ce1241bcc4abb90 /c++ | |
parent | 8b81786544852971e1b088ee5ba4f3a3ecc9fbad (diff) | |
download | hdf5-25e5c39864bde286fb9652c0e6a2156b3f89833b.zip hdf5-25e5c39864bde286fb9652c0e6a2156b3f89833b.tar.gz hdf5-25e5c39864bde286fb9652c0e6a2156b3f89833b.tar.bz2 |
Revert addition of & to 2 parameters in DSetCreatPropList::setVirtual (#649)
from PR #448 Various clang tidy warning fixes, to maintain binary
compatibility in hdf5_1_12.
Diffstat (limited to 'c++')
-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. |