| 246 | } |
| 247 | |
| 248 | static void AddSuggestion(std::vector<String>& matches, const String& word, const String& suggestion) |
| 249 | { |
| 250 | if (suggestion.Find(word) != 0) |
| 251 | return; |
| 252 | |
| 253 | matches.push_back(suggestion); |
| 254 | } |
| 255 | |
| 256 | static void AddSuggestions(std::vector<String>& matches, const String& word, const String& pword, bool withFields, const Value& value) |
| 257 | { |
no test coverage detected