Skip to content

Commit 2a40448

Browse files
committed
apply result of code checks
1 parent e8ded68 commit 2a40448

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DataFormats/Provenance/src/ProductRegistry.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ namespace edm {
332332
std::vector<std::string> producedTypes;
333333

334334
transient_.branchIDToIndex_.clear();
335-
assert(productList_.empty() or processOrder().size() > 0);
335+
assert(productList_.empty() or !processOrder().empty());
336336

337337
std::array<std::shared_ptr<ProductResolverIndexHelper>, NumBranchTypes> new_productLookups{
338338
{std::make_shared<ProductResolverIndexHelper>(),

FWCore/Framework/src/DroppedDataProductResolver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace edm {
1313
class DroppedDataProductResolver : public ProductResolverBase {
1414
public:
1515
DroppedDataProductResolver(std::shared_ptr<ProductDescription const> bd)
16-
: ProductResolverBase(), m_provenance(std::move(bd), {}) {}
16+
: ProductResolverBase(), m_provenance(bd, {}) {}
1717

1818
void connectTo(ProductResolverBase const&, Principal const*) final {}
1919

0 commit comments

Comments
 (0)