diff options
author | gorshenin <y.gorshenin@corp.mail.ru> | 2015-07-01 16:48:58 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:53:27 +0300 |
commit | a7bcdb5ae8b8e75c1a3806b00b19f3b80c72c5b3 (patch) | |
tree | e24caedef110b579fcedc15d29c62cc43e3f6d9c /map/benchmark_engine.cpp | |
parent | e0470160313b3ed0bc396ffec72b16fded6b8520 (diff) |
Revert "[storage, framework, index] Storage redesign. Plain strings are replaced to CountryFile and LocalCountryFile."
Diffstat (limited to 'map/benchmark_engine.cpp')
-rw-r--r-- | map/benchmark_engine.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/map/benchmark_engine.cpp b/map/benchmark_engine.cpp index 208cd1bb94..3c99a0b9f9 100644 --- a/map/benchmark_engine.cpp +++ b/map/benchmark_engine.cpp @@ -133,11 +133,8 @@ void BenchmarkEngine::PrepareMaps() // add only maps needed for benchmarks MapsCollector collector; ForEachBenchmarkRecord(collector); - for (string const & map : collector.m_maps) - { - LOG(LINFO, ("Looking for:", map)); - m_framework->RegisterMap(platform::LocalCountryFile::MakeForTesting(map)); - } + for_each(collector.m_maps.begin(), collector.m_maps.end(), + bind(&Framework::RegisterMap, m_framework, _1)); } BenchmarkEngine::BenchmarkEngine(Framework * fw) |