diff options
author | vng <viktor.govako@gmail.com> | 2014-10-09 19:34:49 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:29:59 +0300 |
commit | 9fbe5893b096db31e90039209d9ea0c5d21c9526 (patch) | |
tree | e6fbf3a0ee39cfc6dd4cfb1b9e8cfbaf36aaf527 /map/benchmark_engine.cpp | |
parent | af9ca3036112619648ab57fdc177e63066954c8d (diff) |
[storage] CountryTree now initialized in Framework::AddMaps. It’s correct way for Android, when active maps set can be changed.
Diffstat (limited to 'map/benchmark_engine.cpp')
-rw-r--r-- | map/benchmark_engine.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/map/benchmark_engine.cpp b/map/benchmark_engine.cpp index 98612f55ef..26c414d13a 100644 --- a/map/benchmark_engine.cpp +++ b/map/benchmark_engine.cpp @@ -126,10 +126,7 @@ struct MapsCollector void BenchmarkEngine::PrepareMaps() { // remove all previously added maps in framework constructor - Platform::FilesList files; - m_framework->GetLocalMaps(files); - for_each(files.begin(), files.end(), - bind(&Framework::RemoveMap, m_framework, _1)); + m_framework->RemoveMaps(); // add only maps needed for benchmarks MapsCollector collector; |