From 69fc128bd53eb3256d73f73ba337d6a27a64ad65 Mon Sep 17 00:00:00 2001 From: Serge Lamikhov-Center Date: Fri, 14 Jan 2022 23:43:34 +0200 Subject: [PATCH] Make set_stream_size() public again --- elfio/elfio_section.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/elfio/elfio_section.hpp b/elfio/elfio_section.hpp index 3e68c52..07c3871 100644 --- a/elfio/elfio_section.hpp +++ b/elfio/elfio_section.hpp @@ -238,6 +238,12 @@ template 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 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;