Skip to content

Commit dd7aebf

Browse files
authored
Merge pull request #40749 from gottesmm/pr-ae8e77c504f54100333e665adf46386b43e516e1
[gardening] Make count on BlotSetVector const.
2 parents 648d256 + 2ce233b commit dd7aebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Basic/BlotSetVector.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class BlotSetVector {
113113
return {index, true};
114114
}
115115

116-
bool count(const ValueT &value) { return map.count(value); }
116+
bool count(const ValueT &value) const { return map.count(value); }
117117

118118
/// Replace \p value1 with \p value2 placing \p value2 into the position in
119119
/// the array where value1 used to be. If \p value2 is already in the set,

0 commit comments

Comments
 (0)