mirror of
https://github.com/QuasarApp/ELFIO.git
synced 2025-05-13 19:39:35 +00:00
Avoid warning about initialization reorder (-Wreorder) on GCC
This commit is contained in:
parent
cdafaa0abf
commit
15340ddf9c
@ -69,7 +69,7 @@ class segment_impl : public segment
|
|||||||
public:
|
public:
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
segment_impl( endianess_convertor* convertor_ ) :
|
segment_impl( endianess_convertor* convertor_ ) :
|
||||||
convertor( convertor_ ), stream_size( 0 ), index( 0 ), data( 0 )
|
stream_size( 0 ), index( 0 ), data( 0 ), convertor( convertor_ )
|
||||||
{
|
{
|
||||||
is_offset_set = false;
|
is_offset_set = false;
|
||||||
std::fill_n( reinterpret_cast<char*>( &ph ), sizeof( ph ), '\0' );
|
std::fill_n( reinterpret_cast<char*>( &ph ), sizeof( ph ), '\0' );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user