From 7a37590888d6f62537b1239f53b398fe853277c1 Mon Sep 17 00:00:00 2001 From: Maxim Pimenov Date: Wed, 25 Oct 2017 16:46:03 +0300 Subject: Review fixes. --- indexer/search_string_utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indexer/search_string_utils.hpp') 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); -- cgit v1.2.3