forked from organicmaps/organicmaps
[search] Fix bug in Query: m_prefix wasn't cleared.
This commit is contained in:
parent
c058e5fca8
commit
6809f67d42
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ void Query::Search(string const & query,
|
|||
m_rawQuery = query;
|
||||
m_uniQuery = NormalizeAndSimplifyString(m_rawQuery);
|
||||
m_tokens.clear();
|
||||
m_prefix.clear();
|
||||
|
||||
search::Delimiters delims;
|
||||
SplitUniString(m_uniQuery, MakeBackInsertFunctor(m_tokens), delims);
|
||||
|
|
Loading…
Add table
Reference in a new issue