Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2014-10-09 19:34:49 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:29:59 +0300
commit9fbe5893b096db31e90039209d9ea0c5d21c9526 (patch)
treee6fbf3a0ee39cfc6dd4cfb1b9e8cfbaf36aaf527 /map/benchmark_engine.cpp
parentaf9ca3036112619648ab57fdc177e63066954c8d (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.cpp5
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;