Skip to content

Commit

Permalink
Rename ReadDataWrapper.is_dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Sep 24, 2024
1 parent 5f28fb0 commit a9725b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/io/ReadIO.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class ReadDataWrapper
* select functions for attributes, to not support slicing.
*/
template<StorageObjectType U>
struct is_dataset
struct isDataset
: std::integral_constant<bool, (U == StorageObjectType::Dataset)>
{
};
Expand Down Expand Up @@ -287,7 +287,7 @@ class ReadDataWrapper
* @return An DataBlockGeneric structure containing the data and shape.
*/
template<StorageObjectType U = OTYPE,
typename std::enable_if<is_dataset<U>::value, int>::type = 0>
typename std::enable_if<isDataset<U>::value, int>::type = 0>
inline DataBlockGeneric valuesGeneric(
const std::vector<SizeType>& start,
const std::vector<SizeType>& count = {},
Expand Down Expand Up @@ -344,7 +344,7 @@ class ReadDataWrapper
*/
template<typename T = VTYPE,
StorageObjectType U = OTYPE,
typename std::enable_if<is_dataset<U>::value, int>::type = 0>
typename std::enable_if<isDataset<U>::value, int>::type = 0>
inline DataBlock<VTYPE> values(const std::vector<SizeType>& start,
const std::vector<SizeType>& count = {},
const std::vector<SizeType>& stride = {},
Expand Down

0 comments on commit a9725b2

Please sign in to comment.