diff options
Diffstat (limited to 'search')
-rw-r--r-- | search/house_to_street_table.cpp | 2 | ||||
-rw-r--r-- | search/retrieval.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/search/house_to_street_table.cpp b/search/house_to_street_table.cpp index 6321b0c636..5b86015300 100644 --- a/search/house_to_street_table.cpp +++ b/search/house_to_street_table.cpp @@ -46,7 +46,7 @@ public: unique_ptr<HouseToStreetTable> HouseToStreetTable::Load(MwmValue & value) { - version::MwmTraits traits(value.GetMwmVersion().GetFormat()); + version::MwmTraits traits(value.GetMwmVersion()); auto const format = traits.GetHouseToStreetTableFormat(); unique_ptr<HouseToStreetTable> result; diff --git a/search/retrieval.cpp b/search/retrieval.cpp index 69f736beac..60354f721b 100644 --- a/search/retrieval.cpp +++ b/search/retrieval.cpp @@ -308,7 +308,7 @@ struct Selector template <typename... Args> unique_ptr<coding::CompressedBitVector> operator()(MwmContext const & context, Args &&... args) { - version::MwmTraits mwmTraits(context.m_value.GetMwmVersion().GetFormat()); + version::MwmTraits mwmTraits(context.m_value.GetMwmVersion()); if (mwmTraits.GetSearchIndexFormat() == version::MwmTraits::SearchIndexFormat::FeaturesWithRankAndCenter) |