Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'search/search_tests_support/test_results_matching.cpp')
-rw-r--r--search/search_tests_support/test_results_matching.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/search/search_tests_support/test_results_matching.cpp b/search/search_tests_support/test_results_matching.cpp
index 381f18f876..c6b6f7416e 100644
--- a/search/search_tests_support/test_results_matching.cpp
+++ b/search/search_tests_support/test_results_matching.cpp
@@ -62,7 +62,7 @@ string AlternativesMatchingRule::ToString() const
return os.str();
}
-bool MatchResults(DataSourceBase const & dataSource, vector<shared_ptr<MatchingRule>> rules,
+bool MatchResults(DataSource const & dataSource, vector<shared_ptr<MatchingRule>> rules,
vector<search::Result> const & actual)
{
vector<FeatureID> resultIds;
@@ -100,14 +100,14 @@ bool MatchResults(DataSourceBase const & dataSource, vector<shared_ptr<MatchingR
return false;
}
-bool MatchResults(DataSourceBase const & dataSource, vector<shared_ptr<MatchingRule>> rules,
+bool MatchResults(DataSource const & dataSource, vector<shared_ptr<MatchingRule>> rules,
search::Results const & actual)
{
vector<search::Result> const results(actual.begin(), actual.end());
return MatchResults(dataSource, rules, results);
}
-bool ResultMatches(DataSourceBase const & dataSource, shared_ptr<MatchingRule> rule,
+bool ResultMatches(DataSource const & dataSource, shared_ptr<MatchingRule> rule,
search::Result const & result)
{
bool matches = false;