Minor cleanup
This commit is contained in:
parent
e911c86306
commit
ff1f4dcb5c
|
@ -133,7 +133,7 @@ void WordDB::update_db()
|
|||
template<typename Func>
|
||||
std::vector<InternedString> find_matching(const WordDB::WordList& words, StringView str, Func func)
|
||||
{
|
||||
WordDB::UsedChars letters = used_letters(str);
|
||||
const WordDB::UsedChars letters = used_letters(str);
|
||||
std::vector<InternedString> res;
|
||||
for (auto&& word : words)
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ class WordDB
|
|||
{
|
||||
public:
|
||||
WordDB(const Buffer& buffer);
|
||||
WordDB(const WordDB&) { kak_assert(false); }
|
||||
WordDB(const WordDB&) = delete;
|
||||
WordDB(WordDB&&) = default;
|
||||
|
||||
std::vector<InternedString> find_prefix(StringView prefix);
|
||||
|
|
Loading…
Reference in New Issue
Block a user