| 175 | } |
| 176 | |
| 177 | size_t CaseInsensitiveStringHash::operator()(String const& s) const { |
| 178 | PLHasher hash; |
| 179 | for (auto c : s) |
| 180 | hash.put(String::toLower(c)); |
| 181 | return hash.hash(); |
| 182 | } |
| 183 | |
| 184 | bool CaseInsensitiveStringCompare::operator()(String const& lhs, String const& rhs) const { |
| 185 | return lhs.equalsIgnoreCase(rhs); |
nothing calls this directly
no test coverage detected