diff options
Diffstat (limited to 'search/reverse_geocoder.hpp')
-rw-r--r-- | search/reverse_geocoder.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/search/reverse_geocoder.hpp b/search/reverse_geocoder.hpp index fe71871946..6b2fd65ac9 100644 --- a/search/reverse_geocoder.hpp +++ b/search/reverse_geocoder.hpp @@ -12,14 +12,14 @@ class FeatureType; -class DataSourceBase; +class DataSource; namespace search { class ReverseGeocoder { - DataSourceBase const & m_dataSource; + DataSource const & m_dataSource; struct Object { @@ -42,7 +42,7 @@ public: /// All "Nearby" functions work in this lookup radius. static int constexpr kLookupRadiusM = 500; - explicit ReverseGeocoder(DataSourceBase const & dataSource); + explicit ReverseGeocoder(DataSource const & dataSource); using Street = Object; @@ -98,11 +98,11 @@ private: /// Helper class to incapsulate house 2 street table reloading. class HouseTable { - DataSourceBase const & m_dataSource; + DataSource const & m_dataSource; unique_ptr<search::HouseToStreetTable> m_table; MwmSet::MwmHandle m_handle; public: - explicit HouseTable(DataSourceBase const & dataSource) : m_dataSource(dataSource) {} + explicit HouseTable(DataSource const & dataSource) : m_dataSource(dataSource) {} bool Get(FeatureID const & fid, uint32_t & streetIndex); }; |