Skip to content

Commit

Permalink
Make simple getter for RecordingContainers inline
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Sep 20, 2024
1 parent b7a8792 commit f1122d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/nwb/RecordingContainers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,3 @@ Status RecordingContainers::writeSpikeEventData(const SizeType& containerInd,

ses->writeSpike(numSamples, numChannels, data, timestamps);
}

SizeType RecordingContainers::size()
{
return m_containers.size();
}
2 changes: 1 addition & 1 deletion src/nwb/RecordingContainers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class RecordingContainers
/**
* @brief Get the number of recording containers
*/
SizeType size();
inline SizeType size() const { return m_containers.size(); }

private:
/**
Expand Down

0 comments on commit f1122d0

Please sign in to comment.