renamed _get_data() to data()

This commit is contained in:
Erik Frojdh
2024-04-03 12:14:59 +02:00
parent 3f83e37e6b
commit d80ea2269f
3 changed files with 11 additions and 10 deletions

View File

@ -5,7 +5,7 @@ namespace aare{
Frame RawFile::get_frame(size_t frame_number) {
auto f = Frame(this->m_rows, this->m_cols, this->m_bitdepth);
std::byte *frame_buffer = f._get_data();
std::byte *frame_buffer = f.data();
get_frame_into(frame_number, frame_buffer);
return f;
}