diff options
author | Yuri Gorshenin <y@maps.me> | 2016-09-23 14:29:53 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2016-09-23 14:29:53 +0300 |
commit | fc0f736e1af20e80f8c844f29469ddb9a17a72c4 (patch) | |
tree | 566e874c814d454dc8b4c63dd551064861e4130d /search/engine.cpp | |
parent | 461f9737065175f266e067b435ff97409348db05 (diff) |
Review fixes and SearchParams refactoring.
Diffstat (limited to 'search/engine.cpp')
-rw-r--r-- | search/engine.cpp | 2 |
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); |