We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 648d256 + 2ce233b commit dd7aebfCopy full SHA for dd7aebf
include/swift/Basic/BlotSetVector.h
@@ -113,7 +113,7 @@ class BlotSetVector {
113
return {index, true};
114
}
115
116
- bool count(const ValueT &value) { return map.count(value); }
+ bool count(const ValueT &value) const { return map.count(value); }
117
118
/// Replace \p value1 with \p value2 placing \p value2 into the position in
119
/// the array where value1 used to be. If \p value2 is already in the set,
0 commit comments