Remove some useless casts

This commit is contained in:
Martin Hořeňovský
2022-04-28 14:56:33 +02:00
parent c410e2596c
commit 332de39cd4
3 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ namespace Catch {
else if( tag == "!nonportable"_sr )
return TestCaseProperties::NonPortable;
else if( tag == "!benchmark"_sr )
return static_cast<TestCaseProperties>(TestCaseProperties::Benchmark | TestCaseProperties::IsHidden );
return TestCaseProperties::Benchmark | TestCaseProperties::IsHidden;
else
return TestCaseProperties::None;
}