diff options
author | Yuri Gorshenin <y@maps.me> | 2015-06-16 18:15:09 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:53:25 +0300 |
commit | 598e71858b63ef4e587efd932db41474f8f516a0 (patch) | |
tree | 19e39c1dd331579432c9b58e5e1e82c750842ac3 /map/benchmark_engine.cpp | |
parent | 9148053b3aa67aac443ade98e2ed2ae899419095 (diff) |
Storage redesign.
Diffstat (limited to 'map/benchmark_engine.cpp')
-rw-r--r-- | map/benchmark_engine.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/map/benchmark_engine.cpp b/map/benchmark_engine.cpp index 3c99a0b9f9..3e2a6bcffe 100644 --- a/map/benchmark_engine.cpp +++ b/map/benchmark_engine.cpp @@ -133,8 +133,12 @@ void BenchmarkEngine::PrepareMaps() // add only maps needed for benchmarks MapsCollector collector; ForEachBenchmarkRecord(collector); - for_each(collector.m_maps.begin(), collector.m_maps.end(), - bind(&Framework::RegisterMap, m_framework, _1)); + string const directory = GetPlatform().WritableDir(); + for (string const & map : collector.m_maps) + { + LOG(LINFO, ("Looking for:", map)); + m_framework->RegisterMap(platform::LocalCountryFile::MakeForTesting(map)); + } } BenchmarkEngine::BenchmarkEngine(Framework * fw) |