Skip to content

Commit

Permalink
Improve wording and whitespace.
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Wolf <matthias.wolf@epfl.ch>
  • Loading branch information
1uc and matz-e committed Oct 17, 2022
1 parent 67863e8 commit 6305ea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/highfive/H5PropertyList.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class FileSpaceStrategy {
///
/// \brief Create a file space strategy property.
///
/// \param strategy The HDF5 free space strategy.
/// \param strategy The HDF5 free space strategy.
/// \param perist Should free space managers be persisted across file closing and reopening.
/// \param threshold The free-space manager wont track sections small than this threshold.
FileSpaceStrategy(H5F_fspace_strategy_t strategy, hbool_t persist, hsize_t threshold)
Expand Down
2 changes: 1 addition & 1 deletion include/highfive/bits/H5File_misc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ inline hsize_t File::getFileSpacePageSize() const {

if (getFileSpaceStrategy() != H5F_FSPACE_STRATEGY_PAGE) {
HDF5ErrMapper::ToException<FileException>(
std::string("Cannot obtain page size, because not using paged allocation."));
std::string("Cannot obtain page size as paged allocation is not used."));
}

if (H5Pget_file_space_page_size(fcpl, &page_size) < 0) {
Expand Down

0 comments on commit 6305ea4

Please sign in to comment.