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-07 14:13:08 +0300
committerYuri Gorshenin <y@maps.me>2016-07-07 14:13:08 +0300
commit16a991d75b6cbb23d312f3c782ce0054ea0cddd0 (patch)
tree1d9c8206d4ab7e71b6e53ef65d7fc892c61332c1 /search
parent6c8f97bb0b9b21eb16f2a7cf41c31598fc10bf80 (diff)
Style fixes.
Diffstat (limited to 'search')
-rw-r--r--search/ranker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/search/ranker.cpp b/search/ranker.cpp
index 2b06104917..2062ee3842 100644
--- a/search/ranker.cpp
+++ b/search/ranker.cpp
@@ -256,7 +256,7 @@ public:
string name;
string country;
- if (LoadFeature(res1.GetId(), ft, center, name, country))
+ if (!LoadFeature(res1.GetId(), ft, center, name, country))
return unique_ptr<PreResult2>();
auto res2 = make_unique<PreResult2>(ft, &res1, center, m_ranker.m_params.m_position /* pivot */,