Handle legacy file versions.

This commit is contained in:
Bartosz Taudul
2019-08-12 12:16:48 +02:00
parent 54076e717c
commit 154c902e03
5 changed files with 49 additions and 15 deletions

View File

@@ -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;
}
} );
}
}