diff --git a/search/search_query.cpp b/search/search_query.cpp index 9a28c4fbc8..48e523e4cd 100644 --- a/search/search_query.cpp +++ b/search/search_query.cpp @@ -183,7 +183,7 @@ m2::RectD GetRectAroundPosition(m2::PointD const & position) } template -void UpdateNameScore(string const & name, TSlice const & slice, search::v2::NameScore & bestScore) +void UpdateNameScore(string const & name, TSlice const & slice, v2::NameScore & bestScore) { auto const score = v2::GetNameScore(name, slice); if (score > bestScore) @@ -192,7 +192,7 @@ void UpdateNameScore(string const & name, TSlice const & slice, search::v2::Name template void UpdateNameScore(vector const & tokens, TSlice const & slice, - search::v2::NameScore & bestScore, double & bestCoverage) + v2::NameScore & bestScore, double & bestCoverage) { auto const score = v2::GetNameScore(tokens, slice); auto const coverage =