mirror of
https://github.com/serge1/ELFIO.git
synced 2025-01-29 21:32:44 +00:00
Remove postfix underscore in parameter names
This commit is contained in:
parent
762c59a2bb
commit
57e614a486
@ -845,7 +845,7 @@ class elfio
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
Sections( elfio* parent_ ) : parent( parent_ ) {}
|
||||
Sections( elfio* parent ) : parent( parent ) {}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
Elf_Half size() const { return (Elf_Half)parent->sections_.size(); }
|
||||
@ -930,7 +930,7 @@ class elfio
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
Segments( elfio* parent_ ) : parent( parent_ ) {}
|
||||
Segments( elfio* parent ) : parent( parent ) {}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
Elf_Half size() const { return (Elf_Half)parent->segments_.size(); }
|
||||
|
@ -32,8 +32,8 @@ template <class S> class array_section_accessor_template
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
array_section_accessor_template( const elfio& elf_file_, S* section_ )
|
||||
: elf_file( elf_file_ ), array_section( section_ )
|
||||
array_section_accessor_template( const elfio& elf_file, S* section )
|
||||
: elf_file( elf_file ), array_section( section )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -32,8 +32,8 @@ template <class S> class dynamic_section_accessor_template
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
dynamic_section_accessor_template( const elfio& elf_file_, S* section_ )
|
||||
: elf_file( elf_file_ ), dynamic_section( section_ ), entries_num( 0 )
|
||||
dynamic_section_accessor_template( const elfio& elf_file, S* section )
|
||||
: elf_file( elf_file ), dynamic_section( section ), entries_num( 0 )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -74,9 +74,9 @@ template <class T> class elf_header_impl : public elf_header
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
elf_header_impl( endianess_convertor* convertor_, unsigned char encoding )
|
||||
elf_header_impl( endianess_convertor* convertor, unsigned char encoding )
|
||||
{
|
||||
convertor = convertor_;
|
||||
this->convertor = convertor;
|
||||
|
||||
std::fill_n( reinterpret_cast<char*>( &header ), sizeof( header ),
|
||||
'\0' );
|
||||
|
@ -33,8 +33,8 @@ template <class S> class modinfo_section_accessor_template
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
modinfo_section_accessor_template( S* section_ )
|
||||
: modinfo_section( section_ )
|
||||
modinfo_section_accessor_template( S* section )
|
||||
: modinfo_section( section )
|
||||
{
|
||||
process_section();
|
||||
}
|
||||
|
@ -42,8 +42,8 @@ template <class S> class note_section_accessor_template
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
note_section_accessor_template( const elfio& elf_file_, S* section_ )
|
||||
: elf_file( elf_file_ ), note_section( section_ )
|
||||
note_section_accessor_template( const elfio& elf_file, S* section )
|
||||
: elf_file( elf_file ), note_section( section )
|
||||
{
|
||||
process_section();
|
||||
}
|
||||
|
@ -64,8 +64,8 @@ template <class S> class relocation_section_accessor_template
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
relocation_section_accessor_template( const elfio& elf_file_, S* section_ )
|
||||
: elf_file( elf_file_ ), relocation_section( section_ )
|
||||
relocation_section_accessor_template( const elfio& elf_file, S* section )
|
||||
: elf_file( elf_file ), relocation_section( section )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -72,8 +72,8 @@ template <class T> class section_impl : public section
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
section_impl( const endianess_convertor* convertor_ )
|
||||
: convertor( convertor_ )
|
||||
section_impl( const endianess_convertor* convertor )
|
||||
: convertor( convertor )
|
||||
{
|
||||
std::fill_n( reinterpret_cast<char*>( &header ), sizeof( header ),
|
||||
'\0' );
|
||||
@ -106,7 +106,7 @@ template <class T> class section_impl : public section
|
||||
std::string get_name() const { return name; }
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void set_name( std::string name_ ) { name = name_; }
|
||||
void set_name( std::string name ) { this->name = name; }
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void set_address( Elf64_Addr value )
|
||||
|
@ -70,8 +70,8 @@ template <class T> class segment_impl : public segment
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
segment_impl( endianess_convertor* convertor_ )
|
||||
: stream_size( 0 ), index( 0 ), data( 0 ), convertor( convertor_ )
|
||||
segment_impl( endianess_convertor* convertor )
|
||||
: stream_size( 0 ), index( 0 ), data( 0 ), convertor( convertor )
|
||||
{
|
||||
is_offset_set = false;
|
||||
std::fill_n( reinterpret_cast<char*>( &ph ), sizeof( ph ), '\0' );
|
||||
|
@ -34,7 +34,7 @@ template <class S> class string_section_accessor_template
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
string_section_accessor_template( S* section_ ) : string_section( section_ )
|
||||
string_section_accessor_template( S* section ) : string_section( section )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -30,9 +30,9 @@ template <class S> class symbol_section_accessor_template
|
||||
{
|
||||
public:
|
||||
//------------------------------------------------------------------------------
|
||||
symbol_section_accessor_template( const elfio& elf_file_,
|
||||
S* symbol_section_ )
|
||||
: elf_file( elf_file_ ), symbol_section( symbol_section_ )
|
||||
symbol_section_accessor_template( const elfio& elf_file,
|
||||
S* symbol_section )
|
||||
: elf_file( elf_file ), symbol_section( symbol_section )
|
||||
{
|
||||
find_hash_section();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user