summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-01-28 20:29:10 +0000
committerMaxime Coste <frrrwww@gmail.com>2016-01-28 20:29:10 +0000
commitf2dac6ca151567c0179ac03e4772b26cbca86d76 (patch)
tree5d0cc4f7dafc204a2570b2f168b7ff37e42c0168 /src
parent3349bcd277893eb33bd33feb7f1136faefff987a (diff)
Small cleanup
Diffstat (limited to 'src')
-rw-r--r--src/ranked_match.hh3
-rw-r--r--src/word_db.hh2
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<RankedMatch>;
-
}
#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<RankedMatch>;
+
// maintain a database of words available in a buffer
class WordDB
{