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-05-29 21:34:38 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:16:40 +0300
commitdab46e95e868921f5d0a837e7eeab52b23864999 (patch)
tree44deb55650e959ba69e3fa68ed57259f1dea9947 /search/result.hpp
parentf39540011be9204e17934c4a5e1a14a0c0519e40 (diff)
[search] Increase emitted search results count.
Diffstat (limited to 'search/result.hpp')
-rw-r--r--search/result.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/search/result.hpp b/search/result.hpp
index 4b94d6321d..971b90e409 100644
--- a/search/result.hpp
+++ b/search/result.hpp
@@ -100,12 +100,12 @@ public:
bool IsEndedNormal() const { return (m_status == ENDED); }
//@}
- inline void AddResult(Result const & r) { m_vec.push_back(r); }
- inline void AddResultCheckExisting(Result const & r)
+ inline bool AddResult(Result const & r)
{
- (void)AddResultCheckExistingEx(r);
+ m_vec.push_back(r);
+ return true;
}
- bool AddResultCheckExistingEx(Result const & r);
+ bool AddResultCheckExisting(Result const & r);
inline void Clear() { m_vec.clear(); }