We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f83dc5f commit 3eab08cCopy full SHA for 3eab08c
1 file changed
src/h5cpp/node/dataset.hpp
@@ -949,18 +949,7 @@ std::uint32_t Dataset::read_chunk(T &data,
949
std::uint32_t filter_mask;
950
if(mem_type.get_class() == datatype::Class::Integer)
951
{
952
-#if H5_VERSION_GE(2,0,0)
953
- if(H5Dread_chunk1(static_cast<hid_t>(*this),
954
- static_cast<hid_t>(dtpl),
955
- offset.data(),
956
- &filter_mask,
957
- dataspace::ptr(data))<0)
958
- {
959
- std::stringstream ss;
960
- ss<<"Failure to read chunk data from dataset ["<<link().path()<<"]!";
961
- error::Singleton::instance().throw_with_stack(ss.str());
962
- }
963
-#elif H5_VERSION_GE(1,10,3)
+#if H5_VERSION_GE(1,10,3)
964
if(H5Dread_chunk(static_cast<hid_t>(*this),
965
static_cast<hid_t>(dtpl),
966
offset.data(),
0 commit comments