Small cleanup

This commit is contained in:
Maxime Coste 2016-01-28 20:29:10 +00:00
parent 3349bcd277
commit f2dac6ca15
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,6 @@
#define ranked_match_hh_INCLUDED #define ranked_match_hh_INCLUDED
#include "string.hh" #include "string.hh"
#include "vector.hh"
namespace Kakoune namespace Kakoune
{ {
@ -25,8 +24,6 @@ private:
bool m_only_word_boundary = false; bool m_only_word_boundary = false;
}; };
using RankedMatchList = Vector<RankedMatch>;
} }
#endif // ranked_match_hh_INCLUDED #endif // ranked_match_hh_INCLUDED

View File

@ -15,6 +15,8 @@ namespace Kakoune
using UsedLetters = std::bitset<64>; using UsedLetters = std::bitset<64>;
UsedLetters used_letters(StringView str); UsedLetters used_letters(StringView str);
using RankedMatchList = Vector<RankedMatch>;
// maintain a database of words available in a buffer // maintain a database of words available in a buffer
class WordDB class WordDB
{ {