diff --git a/include/highfive/bits/H5Node_traits.hpp b/include/highfive/bits/H5Node_traits.hpp index d53d3f048..493749bee 100644 --- a/include/highfive/bits/H5Node_traits.hpp +++ b/include/highfive/bits/H5Node_traits.hpp @@ -239,8 +239,7 @@ class NodeTraits { bool _exist(const std::string& node_name, bool raise_errors = true) const; // Opens an arbitrary object to obtain info - Object _open(const std::string& node_name, - const DataSetAccessProps& accessProps = DataSetAccessProps::Default()) const; + Object _open(const std::string& node_name) const; }; diff --git a/include/highfive/bits/H5Node_traits_misc.hpp b/include/highfive/bits/H5Node_traits_misc.hpp index 2f75ff311..0d80b14b4 100644 --- a/include/highfive/bits/H5Node_traits_misc.hpp +++ b/include/highfive/bits/H5Node_traits_misc.hpp @@ -396,11 +396,10 @@ inline void NodeTraits::createHardLink(const std::string& link_name, template -inline Object NodeTraits::_open(const std::string& node_name, - const DataSetAccessProps& accessProps) const { +inline Object NodeTraits::_open(const std::string& node_name) const { const auto id = H5Oopen(static_cast(this)->getId(), node_name.c_str(), - accessProps.getId()); + H5P_DEFAULT); if (id < 0) { HDF5ErrMapper::ToException(std::string("Unable to open \"") + node_name + "\":");