Make set_stream_size() public again

This commit is contained in:
Serge Lamikhov-Center 2022-01-14 23:43:34 +02:00
parent 7ab1112907
commit 69fc128bd5

View File

@ -238,6 +238,12 @@ template <class T> class section_impl : public section
}
}
//------------------------------------------------------------------------------
size_t get_stream_size() const { return stream_size; }
//------------------------------------------------------------------------------
void set_stream_size( size_t value ) { stream_size = value; }
//------------------------------------------------------------------------------
private:
//------------------------------------------------------------------------------
@ -255,12 +261,6 @@ template <class T> class section_impl : public section
stream.write( get_data(), get_size() );
}
//------------------------------------------------------------------------------
size_t get_stream_size() const { return stream_size; }
//------------------------------------------------------------------------------
void set_stream_size( size_t value ) { stream_size = value; }
//------------------------------------------------------------------------------
private:
T header;