Skip to content

Commit 0cc2ea2

Browse files
authored
Merge pull request #45523 from iarspider/iarspider-patch-20240722-2
[clang][cpp20] Fix ambiguous-reversed-operator in ProductResolverIndexAndSkipBit
2 parents 4241872 + 9ba65d8 commit 0cc2ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FWCore/Framework/interface/ProductResolverIndexAndSkipBit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace edm {
3535
}
3636
bool skipCurrentProcess() const { return (value_ & s_skipMask) != 0; }
3737

38-
bool operator==(ProductResolverIndexAndSkipBit const& r) { return value_ == r.value_; }
38+
bool operator==(ProductResolverIndexAndSkipBit const& r) const { return value_ == r.value_; }
3939

4040
private:
4141
static const unsigned int s_skipMask = 1U << 31;

0 commit comments

Comments
 (0)