From ef46d61e474c6075e4765b3fffc39a661946417d Mon Sep 17 00:00:00 2001 From: Anatoly Serdtcev Date: Thu, 7 Mar 2019 16:13:36 +0300 Subject: [PATCH] [geocoder] Fix for review --- geocoder/index.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geocoder/index.cpp b/geocoder/index.cpp index acf9b1e5e6..80142569e7 100644 --- a/geocoder/index.cpp +++ b/geocoder/index.cpp @@ -44,11 +44,11 @@ Index::Doc const & Index::GetDoc(DocId const id) const // static string Index::MakeIndexKey(Tokens const & tokens) { - if (tokens.size() == 1 || std::is_sorted(begin(tokens), end(tokens))) + if (tokens.size() == 1 || is_sorted(begin(tokens), end(tokens))) return strings::JoinStrings(tokens, " "); auto indexTokens = tokens; - std::sort(begin(indexTokens), end(indexTokens)); + sort(begin(indexTokens), end(indexTokens)); return strings::JoinStrings(indexTokens, " "); }