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:
authorYuri Gorshenin <y@maps.me>2016-09-23 14:29:53 +0300
committerYuri Gorshenin <y@maps.me>2016-09-23 14:29:53 +0300
commitfc0f736e1af20e80f8c844f29469ddb9a17a72c4 (patch)
tree566e874c814d454dc8b4c63dd551064861e4130d /search/engine.cpp
parent461f9737065175f266e067b435ff97409348db05 (diff)
Review fixes and SearchParams refactoring.
Diffstat (limited to 'search/engine.cpp')
-rw-r--r--search/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/search/engine.cpp b/search/engine.cpp
index 0f8c129a77..7e1e0f473a 100644
--- a/search/engine.cpp
+++ b/search/engine.cpp
@@ -227,7 +227,7 @@ void Engine::PostMessage(TArgs &&... args)
void Engine::DoSearch(SearchParams const & params, m2::RectD const & viewport,
shared_ptr<ProcessorHandle> handle, Processor & processor)
{
- bool const viewportSearch = params.GetMode() == Mode::Viewport;
+ bool const viewportSearch = params.m_mode == Mode::Viewport;
processor.Reset();
processor.Init(viewportSearch);