Skip to content

Commit

Permalink
Rename h5pp::scan::makeAttrInfo --> h5pp::scan::makeAttrInfo to clari…
Browse files Browse the repository at this point in the history
…fy intent
  • Loading branch information
DavidAce committed Oct 30, 2020
1 parent db97ed2 commit 6b4646a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions h5pp/include/h5pp/details/h5ppScan.h
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,9 @@ namespace h5pp::scan {

/*! \brief Creates and returns a populated AttrInfo object based entirely on given options */
template<typename h5x>
inline h5pp::AttrInfo inferAttrInfo(const h5x &loc, const Options &options, const PropertyLists &plists = PropertyLists()) {
inline h5pp::AttrInfo makeAttrInfo(const h5x &loc, const Options &options, const PropertyLists &plists = PropertyLists()) {
static_assert(h5pp::type::sfinae::is_h5_loc_v<h5x>,
"Template function [h5pp::scan::inferAttrInfo(..., const h5x & loc, ...)] requires type h5x to be: "
"Template function [h5pp::scan::makeAttrInfo(..., const h5x & loc, ...)] requires type h5x to be: "
"[h5pp::hid::h5f], [h5pp::hid::h5g] or [h5pp::hid::h5o]");
auto info = readAttrInfo(loc, options, plists);
if(info.attrExists.value()) return info;
Expand Down

0 comments on commit 6b4646a

Please sign in to comment.