diff options
author | vng <viktor.govako@gmail.com> | 2014-05-29 21:34:38 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:16:40 +0300 |
commit | dab46e95e868921f5d0a837e7eeab52b23864999 (patch) | |
tree | 44deb55650e959ba69e3fa68ed57259f1dea9947 /search/result.hpp | |
parent | f39540011be9204e17934c4a5e1a14a0c0519e40 (diff) |
[search] Increase emitted search results count.
Diffstat (limited to 'search/result.hpp')
-rw-r--r-- | search/result.hpp | 8 |
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(); } |