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
path: root/search
diff options
context:
space:
mode:
authorYuri Gorshenin <y@maps.me>2016-07-15 16:17:33 +0300
committerYuri Gorshenin <y@maps.me>2016-07-15 16:22:38 +0300
commit06a0e70e3892daf184290da033b5236c8f4408bb (patch)
tree1b4e6981136a7b171ce488d1038349869e9cbaff /search
parent9c128b3a9f250acefae6c213e6410b9a0cd2368c (diff)
[search] Honor original onResults callback.
Diffstat (limited to 'search')
-rw-r--r--search/params.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/search/params.cpp b/search/params.cpp
index 1c751356fb..fa47eb86c7 100644
--- a/search/params.cpp
+++ b/search/params.cpp
@@ -8,7 +8,9 @@
namespace search
{
SearchParams::SearchParams()
- : m_searchRadiusM(-1.0)
+ : m_lat(0.0)
+ , m_lon(0.0)
+ , m_searchRadiusM(-1.0)
, m_mode(Mode::Everywhere)
, m_forceSearch(false)
, m_validPos(false)