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/map
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-08-21 13:37:44 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:02:09 +0300
commita75dbec3831cae0b4b05cc45b81822d0d9f014a6 (patch)
tree2678b53a1d730b2e17cd8fad4003f4cdec03188a /map
parentc9b9ebc2569d079fe44cd2ef16b6909f12fb0301 (diff)
PR fixes.
Diffstat (limited to 'map')
-rw-r--r--map/framework.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/map/framework.hpp b/map/framework.hpp
index e407066188..91c5cc2e81 100644
--- a/map/framework.hpp
+++ b/map/framework.hpp
@@ -51,10 +51,11 @@
#include "base/strings_bundle.hpp"
#include "base/thread_checker.hpp"
-#include "std/vector.hpp"
+#include "std/list.hpp"
#include "std/shared_ptr.hpp"
-#include "std/unique_ptr.hpp"
#include "std/target_os.hpp"
+#include "std/unique_ptr.hpp"
+#include "std/vector.hpp"
namespace search
{
@@ -347,8 +348,8 @@ public:
bool IsISActive() const { return !m_lastSearch.m_query.empty(); }
void CancelInteractiveSearch();
- vector<string> const & GetLastSearchQueries() const { return m_searchQuerySaver.GetTopQueries(); }
- void SaveSearchQuery(string const & query) { m_searchQuerySaver.SaveNewQuery(query); }
+ list<string> const & GetLastSearchQueries() const { return m_searchQuerySaver.Get(); }
+ void SaveSearchQuery(string const & query) { m_searchQuerySaver.Add(query); }
/// Calculate distance and direction to POI for the given position.
/// @param[in] point POI's position;