diff options
Diffstat (limited to 'search/search_tests_support/test_search_request.cpp')
-rw-r--r-- | search/search_tests_support/test_search_request.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/search/search_tests_support/test_search_request.cpp b/search/search_tests_support/test_search_request.cpp index 1c7f50d3ac..fc0b99c90c 100644 --- a/search/search_tests_support/test_search_request.cpp +++ b/search/search_tests_support/test_search_request.cpp @@ -31,7 +31,8 @@ TestSearchRequest::TestSearchRequest(TestSearchEngine & engine, SearchParams par TestSearchRequest::TestSearchRequest(TestSearchEngine & engine, string const & query, string const & locale, Mode mode, m2::RectD const & viewport, - TOnStarted onStarted, TOnResults onResults) + SearchParams::TOnStarted onStarted, + SearchParams::TOnResults onResults) { SearchParams params; params.m_query = query; @@ -88,7 +89,7 @@ void TestSearchRequest::OnResults(search::Results const & results) } else { - m_results.assign(results.Begin(), results.End()); + m_results.assign(results.begin(), results.end()); } } } // namespace tests_support |