Skip to content

Commit 23f17a4

Browse files
committed
[DB-HLT] Apply code checks/format
1 parent b205513 commit 23f17a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CondCore/HLTPlugins/plugins/AlCaRecoTriggerBits_PayloadInspector.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ namespace {
347347
toAppend += not_in_last[iPath] + ";";
348348
}
349349
// if it's the last and not empty, dump it
350-
if (toAppend.length() > 0 && iPath == not_in_last.size() - 1)
350+
if (!toAppend.empty() && iPath == not_in_last.size() - 1)
351351
output.push_back(toAppend);
352352
}
353353

@@ -372,7 +372,7 @@ namespace {
372372
toAppend += not_in_first[jPath] + ";";
373373
}
374374
// if it's the last and not empty, dump it
375-
if (toAppend.length() > 0 && jPath == not_in_first.size() - 1)
375+
if (!toAppend.empty() && jPath == not_in_first.size() - 1)
376376
output.push_back(toAppend);
377377
}
378378

0 commit comments

Comments
 (0)