diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/word_db.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/word_db.cc b/src/word_db.cc index 65685a39..412b5249 100644 --- a/src/word_db.cc +++ b/src/word_db.cc @@ -133,12 +133,6 @@ RankedMatchList WordDB::find_matching(StringView query) RankedMatchList res; for (auto&& word : m_words) { - if (query.empty()) - { - res.push_back(RankedMatch{word.first, query}); - continue; - } - if (RankedMatch match{word.first, word.second.letters, query, letters}) res.push_back(match); } |
