diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-06-26 10:51:37 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-06-27 19:20:52 +0300 |
commit | 570b2b0b35df1fad001460eccf35da31e334b8b0 (patch) | |
tree | 2f805cf3122db499b794248f3f6c1bdd232b258c /map/search_api.hpp | |
parent | dd7186b48be4636c1e67d223817a47f3f3a026e9 (diff) |
[indexer] DataSource refactoring
Diffstat (limited to 'map/search_api.hpp')
-rw-r--r-- | map/search_api.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/map/search_api.hpp b/map/search_api.hpp index 257bad307f..11e39d0dbf 100644 --- a/map/search_api.hpp +++ b/map/search_api.hpp @@ -25,7 +25,7 @@ #include <boost/optional.hpp> -class DataSourceBase; +class DataSource; namespace search { @@ -87,7 +87,7 @@ public: virtual search::ProductInfo GetProductInfo(search::Result const & result) const { return {}; }; }; - SearchAPI(DataSourceBase & dataSource, storage::Storage const & storage, + SearchAPI(DataSource & dataSource, storage::Storage const & storage, storage::CountryInfoGetter const & infoGetter, Delegate & delegate); virtual ~SearchAPI() = default; @@ -155,7 +155,7 @@ private: bool QueryMayBeSkipped(search::SearchParams const & prevParams, search::SearchParams const & currParams) const; - DataSourceBase & m_dataSource; + DataSource & m_dataSource; storage::Storage const & m_storage; storage::CountryInfoGetter const & m_infoGetter; Delegate & m_delegate; |