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:
authorДобрый Ээх <bukharaev@gmail.com>2016-11-24 12:27:18 +0300
committerДобрый Ээх <bukharaev@gmail.com>2016-11-25 21:33:19 +0300
commitbf458d7121875ac692528688ed9a5e5c1110b024 (patch)
tree9b97851eac6ec212d1cea684171a6e6add961130 /generator
parenta841ae0c6c15b102da8b1e887ac12e1722ecad96 (diff)
Pull request #4672 review fixesindex-routing
Diffstat (limited to 'generator')
-rw-r--r--generator/routing_index_generator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/routing_index_generator.cpp b/generator/routing_index_generator.cpp
index d301f231a4..078f16eb13 100644
--- a/generator/routing_index_generator.cpp
+++ b/generator/routing_index_generator.cpp
@@ -12,6 +12,7 @@
#include "base/logging.hpp"
+#include "std/bind.hpp"
#include "std/unordered_map.hpp"
#include "std/vector.hpp"
@@ -26,8 +27,7 @@ class Processor final
public:
void ProcessAllFeatures(string const & filename)
{
- feature::ForEachFromDat(filename,
- [this](FeatureType const & f, uint32_t id) { ProcessFeature(f, id); });
+ feature::ForEachFromDat(filename, bind(&Processor::ProcessFeature, this, _1, _2));
}
void BuildGraph(IndexGraph & graph) const