Skip to content

Commit

Permalink
code cleanup: remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar authored Jan 31, 2023
1 parent d58d49b commit bb287eb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions CommonTools/Utils/test/testExpressionParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,7 @@ void testExpressionParser::checkAll() {
std::cout << "Check for leaks in the " << (b ? "Lazy" : "standard") << " string parser" << std::endl;
expr.reset();
reco::parser::expressionParser<pat::Muon>("triggerObjectMatchesByPath('HLT_Something').size()", expr, b);
for (size_t i = 0; i < 10 * 1000; ++i) {
for (size_t j = 0; j < 100; ++j) {
expr->value(o);
break;
}
break;
if (i % 1000 == 999)
std::cout << "iter " << i << std::endl;
}
expr->value(o);
}
}
reco::CandidatePtrVector ptrOverlaps;
Expand Down

0 comments on commit bb287eb

Please sign in to comment.