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:
Diffstat (limited to 'generator/towns_dumper.hpp')
-rw-r--r--generator/towns_dumper.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/generator/towns_dumper.hpp b/generator/towns_dumper.hpp
index d0fa465517..41f691ece7 100644
--- a/generator/towns_dumper.hpp
+++ b/generator/towns_dumper.hpp
@@ -6,9 +6,9 @@
#include "base/string_utils.hpp"
-#include "std/limits.hpp"
-#include "std/string.hpp"
-#include "std/vector.hpp"
+#include <limits>
+#include <string>
+#include <vector>
class TownsDumper
{
@@ -23,10 +23,10 @@ public:
uint64_t population = 1;
bool town = false;
bool capital = false;
- int admin_level = numeric_limits<int>::max();
+ int admin_level = std::numeric_limits<int>::max();
for (auto const & tag : em.Tags())
{
- string key(tag.key), value(tag.value);
+ std::string key(tag.key), value(tag.value);
if (key == "population")
{
if (!strings::to_uint64(value, population))
@@ -55,7 +55,7 @@ public:
m_records.emplace_back(em.lat, em.lon, em.id, capital, population);
}
- void Dump(string const & filePath);
+ void Dump(std::string const & filePath);
private:
void FilterTowns();
@@ -79,5 +79,5 @@ private:
}
};
- vector<Town> m_records;
+ std::vector<Town> m_records;
};