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/coastlines_generator.cpp')
-rw-r--r--generator/coastlines_generator.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/generator/coastlines_generator.cpp b/generator/coastlines_generator.cpp
index 4b6581379c..21ff7cf6bb 100644
--- a/generator/coastlines_generator.cpp
+++ b/generator/coastlines_generator.cpp
@@ -8,11 +8,12 @@
#include "base/string_utils.hpp"
#include "base/logging.hpp"
-#include "std/bind.hpp"
-#include "std/condition_variable.hpp"
-#include "std/function.hpp"
-#include "std/thread.hpp"
-#include "std/utility.hpp"
+#include <condition_variable>
+#include <functional>
+#include <thread>
+#include <utility>
+
+using namespace std;
typedef m2::RegionI RegionT;
typedef m2::PointI PointT;
@@ -272,7 +273,7 @@ public:
// Do 'and' with all regions and accumulate the result, including bound region.
// In 'odd' parts we will have an ocean.
DoDifference doDiff(rectR);
- m_index.ForEachInRect(GetLimitRect(rectR), bind<void>(ref(doDiff), _1));
+ m_index.ForEachInRect(GetLimitRect(rectR), bind<void>(ref(doDiff), placeholders::_1));
// Check if too many points for feature.
if (cell.Level() < kHighLevel && doDiff.GetPointsCount() >= kMaxPoints)