ThreadCompress::Load() doesn't need fileVer.

This commit is contained in:
Bartosz Taudul 2023-04-16 17:17:07 +02:00
parent f60e51c91b
commit 1c13c1ee8f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ void ThreadCompress::InitZero()
m_threadExpand.push_back( 0 ); m_threadExpand.push_back( 0 );
} }
void ThreadCompress::Load( FileRead& f, int fileVer ) void ThreadCompress::Load( FileRead& f )
{ {
assert( m_threadExpand.empty() ); assert( m_threadExpand.empty() );
assert( m_threadMap.empty() ); assert( m_threadMap.empty() );

View File

@ -20,7 +20,7 @@ public:
ThreadCompress(); ThreadCompress();
void InitZero(); void InitZero();
void Load( FileRead& f, int fileVer ); void Load( FileRead& f );
void Save( FileWrite& f ) const; void Save( FileWrite& f ) const;
tracy_force_inline uint16_t CompressThread( uint64_t thread ) tracy_force_inline uint16_t CompressThread( uint64_t thread )

View File

@ -755,8 +755,8 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
} }
} }
m_data.localThreadCompress.Load( f, fileVer ); m_data.localThreadCompress.Load( f );
m_data.externalThreadCompress.Load( f, fileVer ); m_data.externalThreadCompress.Load( f );
f.Read( sz ); f.Read( sz );
for( uint64_t i=0; i<sz; i++ ) for( uint64_t i=0; i<sz; i++ )