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:
authorMaxim Pimenov <m@maps.me>2019-02-13 20:42:00 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2019-02-15 14:06:19 +0300
commit229d8a3bcf09e37e2dcff951dc36989720eef274 (patch)
tree136b402e2ad15bcde9deb978de40ab9fc998c6c9 /search/locality_finder.hpp
parent1f2aeeb9edcf3769f569ff1472fd2d418acb0502 (diff)
[search] Got rid of most old style std/ includes.
Diffstat (limited to 'search/locality_finder.hpp')
-rw-r--r--search/locality_finder.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/search/locality_finder.hpp b/search/locality_finder.hpp
index 56d510bbf7..83e2581b32 100644
--- a/search/locality_finder.hpp
+++ b/search/locality_finder.hpp
@@ -20,6 +20,7 @@
#include <limits>
#include <map>
#include <memory>
+#include <string>
#include <unordered_set>
#include <utility>
@@ -36,14 +37,14 @@ struct LocalityItem
LocalityItem(StringUtf8Multilang const & names, m2::PointD const & center,
Boundaries const & boundaries, uint64_t population, FeatureID const & id);
- bool GetName(int8_t lang, string & name) const { return m_names.GetString(lang, name); }
+ bool GetName(int8_t lang, std::string & name) const { return m_names.GetString(lang, name); }
- bool GetSpecifiedOrDefaultName(int8_t lang, string & name) const
+ bool GetSpecifiedOrDefaultName(int8_t lang, std::string & name) const
{
return GetName(lang, name) || GetName(StringUtf8Multilang::kDefaultCode, name);
}
- bool GetReadableName(string & name) const
+ bool GetReadableName(std::string & name) const
{
auto const mwmInfo = m_id.m_mwmId.GetInfo();
@@ -64,7 +65,7 @@ struct LocalityItem
FeatureID m_id;
};
-string DebugPrint(LocalityItem const & item);
+std::string DebugPrint(LocalityItem const & item);
class LocalitySelector
{