1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Don't care about std::regex_error value.

This commit is contained in:
Bartosz Taudul 2022-08-14 18:18:15 +02:00
parent df00870a4b
commit b0ac78dde1
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ bool UserData::LoadSourceSubstitutions( std::vector<SourceRegex>& data )
{ {
regex.assign( pattern ); regex.assign( pattern );
} }
catch( std::regex_error& err ) catch( std::regex_error& )
{ {
regexValid = false; regexValid = false;
} }

View File

@ -853,7 +853,7 @@ void View::DrawInfo()
{ {
v.regex.assign( v.pattern ); v.regex.assign( v.pattern );
} }
catch( std::regex_error& err ) catch( std::regex_error& )
{ {
regexValid = false; regexValid = false;
break; break;