| 72 | bset[val] = true; |
| 73 | } |
| 74 | void AddString(const char *setToAdd) { |
| 75 | for (const char *cp=setToAdd; *cp; cp++) { |
| 76 | int val = static_cast<unsigned char>(*cp); |
| 77 | assert(val >= 0); |
| 78 | assert(val < size); |
| 79 | bset[val] = true; |
| 80 | } |
| 81 | } |
| 82 | bool Contains(int val) const { |
| 83 | assert(val >= 0); |
| 84 | if (val < 0) return false; |
nothing calls this directly
no outgoing calls
no test coverage detected