4
0
mirror of https://github.com/QuasarApp/ELFIO.git synced 2025-05-11 02:29:34 +00:00

Avoid warning about initialization reorder (-Wreorder) on GCC

This commit is contained in:
Gleb Struchalin 2019-04-25 13:00:40 +03:00 committed by Serge Lamikhov-Center
parent cdafaa0abf
commit 15340ddf9c

@ -69,7 +69,7 @@ class segment_impl : public segment
public:
//------------------------------------------------------------------------------
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;
std::fill_n( reinterpret_cast<char*>( &ph ), sizeof( ph ), '\0' );