diff options
author | Maxim Pimenov <m@maps.me> | 2017-10-25 16:46:03 +0300 |
---|---|---|
committer | Yuri Gorshenin <mipt.vi002@gmail.com> | 2017-10-25 19:08:13 +0300 |
commit | 7a37590888d6f62537b1239f53b398fe853277c1 (patch) | |
tree | db0aa0a0d03bde9d504e587ff46902ee3c7baeba /indexer/search_string_utils.hpp | |
parent | b34c94038ba0628a38ee073c2e512577eebaf336 (diff) |
Review fixes.
Diffstat (limited to 'indexer/search_string_utils.hpp')
-rw-r--r-- | indexer/search_string_utils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/search_string_utils.hpp b/indexer/search_string_utils.hpp index cad9a1e361..a8692d60f0 100644 --- a/indexer/search_string_utils.hpp +++ b/indexer/search_string_utils.hpp @@ -55,8 +55,8 @@ bool TokenizeStringAndCheckIfLastTokenIsPrefix(std::string const & s, Tokens & t return TokenizeStringAndCheckIfLastTokenIsPrefix(NormalizeAndSimplifyString(s), tokens, delims); } -// Chops off the last query token (the "prefix" one) from |str| and stores the result in |res|. -void GetStringPrefix(std::string const & str, std::string & res); +// Chops off the last query token (the "prefix" one) from |str|. +std::string DropLastToken(std::string const & str); strings::UniString GetStreetNameAsKey(std::string const & name); |