mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Handle legacy file versions.
This commit is contained in:
@@ -480,6 +480,11 @@ int main( int argc, char** argv )
|
||||
badVer.state = tracy::BadVersionState::UnsupportedVersion;
|
||||
badVer.version = e.version;
|
||||
}
|
||||
catch( const tracy::LegacyVersion& e )
|
||||
{
|
||||
badVer.state = tracy::BadVersionState::LegacyVersion;
|
||||
badVer.version = e.version;
|
||||
}
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user