diff options
author | Yuri Gorshenin <y@maps.me> | 2015-07-01 16:55:50 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:53:33 +0300 |
commit | 54e5990c7e4c65b0749c21ce4fe3866909a29668 (patch) | |
tree | ec9f80550c7402b7d5f577773353c0d7eb6fb0a7 /map/benchmark_engine.cpp | |
parent | 025f73ad85d489c4ea143b9d95dde4d308daf89b (diff) |
Revert "Merge pull request #1068 from maps/revert-929-abstract-country-file"
This reverts commit 66aac38c3004d261ee06a16f7e9db372f67614df, reversing
changes made to ad8708944070f6b32a17fbb944d3c493b3fb2a24.
Diffstat (limited to 'map/benchmark_engine.cpp')
-rw-r--r-- | map/benchmark_engine.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/map/benchmark_engine.cpp b/map/benchmark_engine.cpp index 3c99a0b9f9..208cd1bb94 100644 --- a/map/benchmark_engine.cpp +++ b/map/benchmark_engine.cpp @@ -133,8 +133,11 @@ 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)); + for (string const & map : collector.m_maps) + { + LOG(LINFO, ("Looking for:", map)); + m_framework->RegisterMap(platform::LocalCountryFile::MakeForTesting(map)); + } } BenchmarkEngine::BenchmarkEngine(Framework * fw) |