<commit_before>#include "drape_frontend/map_data_provider.hpp"

namespace df
{

MapDataProvider::MapDataProvider(TReadIDsFn const & idsReader,
                                 TReadFeaturesFn const & featureReader,
                                 TUpdateCountryIndexFn const & countryIndexUpdater,
                                 TIsCountryLoadedFn const & isCountryLoadedFn,
                                 TIsCountryLoadedByNameFn const & isCountryLoadedByNameFn,
                                 TDownloadFn const & downloadMapHandler,
                                 TDownloadFn const & downloadMapRoutingHandler,
                                 TDownloadFn const & downloadRetryHandler)
  : m_featureReader(featureReader)
  , m_idsReader(idsReader)
  , m_countryIndexUpdater(countryIndexUpdater)
  , m_isCountryLoadedFn(isCountryLoadedFn)
  , m_isCountryLoadedByNameFn(isCountryLoadedByNameFn)
  , m_downloadMapHandler(downloadMapHandler)
  , m_downloadMapRoutingHandler(downloadMapRoutingHandler)
  , m_downloadRetryHandler(downloadRetryHandler)
{
}

void MapDataProvider::ReadFeaturesID(TReadCallback<FeatureID> const & fn, m2::RectD const & r, int scale) const
{
  m_idsReader(fn, r, scale);
}

void MapDataProvider::ReadFeatures(TReadCallback<FeatureType> const & fn, vector<FeatureID> const & ids) const
{
  m_featureReader(fn, ids);
}

void MapDataProvider::UpdateCountryIndex(storage::TIndex const & currentIndex, m2::PointF const & pt)
{
  m_countryIndexUpdater(currentIndex, pt);
}

MapDataProvider::TIsCountryLoadedFn const & MapDataProvider::GetIsCountryLoadedFn() const
{
  return m_isCountryLoadedFn;
}

MapDataProvider::TDownloadFn const & MapDataProvider::GetDownloadMapHandler() const
{
  return m_downloadMapHandler;
}

MapDataProvider::TDownloadFn const & MapDataProvider::GetDownloadMapRoutingHandler() const
{
  return m_downloadMapRoutingHandler;
}

MapDataProvider::TDownloadFn const & MapDataProvider::GetDownloadRetryHandler() const
{
  return m_downloadRetryHandler;
}

}
<commit_msg>Fixed warning in drape frontend<commit_after>#include "drape_frontend/map_data_provider.hpp"

namespace df
{

MapDataProvider::MapDataProvider(TReadIDsFn const & idsReader,
                                 TReadFeaturesFn const & featureReader,
                                 TUpdateCountryIndexFn const & countryIndexUpdater,
                                 TIsCountryLoadedFn const & isCountryLoadedFn,
                                 TIsCountryLoadedByNameFn const & isCountryLoadedByNameFn,
                                 TDownloadFn const & downloadMapHandler,
                                 TDownloadFn const & downloadMapRoutingHandler,
                                 TDownloadFn const & downloadRetryHandler)
  : m_featureReader(featureReader)
  , m_idsReader(idsReader)
  , m_countryIndexUpdater(countryIndexUpdater)
  , m_isCountryLoadedFn(isCountryLoadedFn)
  , m_downloadMapHandler(downloadMapHandler)
  , m_downloadMapRoutingHandler(downloadMapRoutingHandler)
  , m_downloadRetryHandler(downloadRetryHandler)
  , m_isCountryLoadedByNameFn(isCountryLoadedByNameFn)
{
}

void MapDataProvider::ReadFeaturesID(TReadCallback<FeatureID> const & fn, m2::RectD const & r, int scale) const
{
  m_idsReader(fn, r, scale);
}

void MapDataProvider::ReadFeatures(TReadCallback<FeatureType> const & fn, vector<FeatureID> const & ids) const
{
  m_featureReader(fn, ids);
}

void MapDataProvider::UpdateCountryIndex(storage::TIndex const & currentIndex, m2::PointF const & pt)
{
  m_countryIndexUpdater(currentIndex, pt);
}

MapDataProvider::TIsCountryLoadedFn const & MapDataProvider::GetIsCountryLoadedFn() const
{
  return m_isCountryLoadedFn;
}

MapDataProvider::TDownloadFn const & MapDataProvider::GetDownloadMapHandler() const
{
  return m_downloadMapHandler;
}

MapDataProvider::TDownloadFn const & MapDataProvider::GetDownloadMapRoutingHandler() const
{
  return m_downloadMapRoutingHandler;
}

MapDataProvider::TDownloadFn const & MapDataProvider::GetDownloadRetryHandler() const
{
  return m_downloadRetryHandler;
}

}

{'fraction_non_alphanumeric': 0.07297830374753451, 'fraction_numerical': 0.0009861932938856016, 'mean_word_length': 3.9295261239368164, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 56, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5883006', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1144, 'n_words': 188}