Skip to content

Commit 9ba65d8

Browse files
committed
[clang][cpp20] Fix ambiguous-reversed-operator in ProductResolverIndexAndSkipBit
1 parent 0cbc4b0 commit 9ba65d8

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)