diff options
author | vng <viktor.govako@gmail.com> | 2014-05-15 15:28:40 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:15:32 +0300 |
commit | 4ae69054f4c4035b30cd85f7085cfa0277241ab3 (patch) | |
tree | ac339d1ebda8b9dbc92aef1186640ab6b75e443d /search/result.hpp | |
parent | 80498aa751ffdb6a1c85c36a95e77f552ebf6aac (diff) |
[search] Implement suggestions for countries, cities, streets.
Diffstat (limited to 'search/result.hpp')
-rw-r--r-- | search/result.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/search/result.hpp b/search/result.hpp index db19031a4b..61671d4454 100644 --- a/search/result.hpp +++ b/search/result.hpp @@ -33,7 +33,7 @@ public: string const & flag, double distance); /// For RESULT_SUGGESTION. - Result(string const & str, string const & suggestionStr); + Result(string const & str, string const & suggest); /// Strings that is displayed in the GUI. //@{ @@ -100,7 +100,11 @@ public: //@} inline void AddResult(Result const & r) { m_vec.push_back(r); } - void AddResultCheckExisting(Result const & r); + inline void AddResultCheckExisting(Result const & r) + { + (void)AddResultCheckExistingEx(r); + } + bool AddResultCheckExistingEx(Result const & r); inline void Clear() { m_vec.clear(); } |