We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 801337e commit 2ce233bCopy full SHA for 2ce233b
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