From f2dac6ca151567c0179ac03e4772b26cbca86d76 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 28 Jan 2016 20:29:10 +0000 Subject: [PATCH] Small cleanup --- src/ranked_match.hh | 3 --- src/word_db.hh | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ranked_match.hh b/src/ranked_match.hh index 2a805002..1c56e0cb 100644 --- a/src/ranked_match.hh +++ b/src/ranked_match.hh @@ -2,7 +2,6 @@ #define ranked_match_hh_INCLUDED #include "string.hh" -#include "vector.hh" namespace Kakoune { @@ -25,8 +24,6 @@ private: bool m_only_word_boundary = false; }; -using RankedMatchList = Vector; - } #endif // ranked_match_hh_INCLUDED diff --git a/src/word_db.hh b/src/word_db.hh index 91846eb6..ee24bc92 100644 --- a/src/word_db.hh +++ b/src/word_db.hh @@ -15,6 +15,8 @@ namespace Kakoune using UsedLetters = std::bitset<64>; UsedLetters used_letters(StringView str); +using RankedMatchList = Vector; + // maintain a database of words available in a buffer class WordDB {