From 9b70346a00c10709934d3b5905a05cbeba96f3d2 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 28 Feb 2016 23:05:51 +0000 Subject: Take subsequence matches index when sorting RankedMatch --- src/ranked_match.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ranked_match.hh') diff --git a/src/ranked_match.hh b/src/ranked_match.hh index 1c56e0cb..85dab5e2 100644 --- a/src/ranked_match.hh +++ b/src/ranked_match.hh @@ -21,6 +21,7 @@ private: bool m_first_char_match = false; bool m_prefix = false; int m_word_boundary_match_count = 0; + int m_match_index_sum; bool m_only_word_boundary = false; }; -- cgit v1.2.3