Skip to content

Commit

Permalink
[PF][clang-tidy] fix readability-container-size-empty warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jul 27, 2021
1 parent e207da6 commit d7871b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/ParticleFlowCandidate/src/CountBits.h
Expand Up @@ -4658,7 +4658,7 @@ enum PFRefMasks {
size_t index, aIndex; \
typedef edm::Ref<std::vector<_class_> > RefType; \
if (getRefInfo(_mask_, _bit_, prodID, index, aIndex)) { \
if (refsCollectionCache_.size() == 0 || refsCollectionCache_[aIndex] == 0) \
if (refsCollectionCache_.empty() || refsCollectionCache_[aIndex] == 0) \
return RefType(prodID, index, getter_); \
else { \
_class_ const* t = reinterpret_cast<_class_ const*>(refsCollectionCache_[aIndex]); \
Expand Down

0 comments on commit d7871b8

Please sign in to comment.