Drop legacy code for reading long unsupported traces.

This commit is contained in:
Bartosz Taudul 2021-05-18 02:23:43 +02:00
parent 98551ab892
commit 5ec1313af1
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -24,8 +24,6 @@ void ThreadCompress::Load( FileRead& f, int fileVer )
assert( m_threadMap.empty() ); assert( m_threadMap.empty() );
uint64_t sz; uint64_t sz;
if( fileVer >= FileVersion( 0, 4, 4 ) )
{
f.Read( sz ); f.Read( sz );
if( sz != 0 ) if( sz != 0 )
{ {
@ -37,13 +35,6 @@ void ThreadCompress::Load( FileRead& f, int fileVer )
m_threadMap.emplace( m_threadExpand[i], i ); m_threadMap.emplace( m_threadExpand[i], i );
} }
} }
}
else
{
f.Read( sz );
m_threadExpand.reserve( sz );
m_threadExpand.push_back( 0 );
}
} }
void ThreadCompress::Save( FileWrite& f ) const void ThreadCompress::Save( FileWrite& f ) const