Skip to content

Commit

Permalink
Make simple getter for HDF5RecordingData inline
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Sep 20, 2024
1 parent 57c8520 commit b7a8792
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/hdf5/HDF5IO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,3 @@ Status HDF5RecordingData::writeDataBlock(
}
return Status::Success;
}

const H5::DataSet* HDF5RecordingData::getDataSet()
{
return this->m_dataset.get();
};
2 changes: 1 addition & 1 deletion src/hdf5/HDF5IO.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ class HDF5RecordingData : public BaseRecordingData
* @brief Gets a const pointer to the HDF5 dataset.
* @return A const pointer to the HDF5 dataset.
*/
const H5::DataSet* getDataSet();
inline const H5::DataSet* getDataSet() const { return this->m_dataset.get(); }

private:
/**
Expand Down

0 comments on commit b7a8792

Please sign in to comment.